Skip to content

Commit

Permalink
fix NaturalIntelligence#74: TS2314 compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbruckner committed Apr 18, 2018
1 parent 2c225da commit 6e14cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type J2xOptions = {
};
type J2xOptionsOptional = Partial<J2xOptions>;

type ESchema = string | Array | object;
type ESchema = string | object | Array<string|object>;

type ValidationError = {
err: { code: string; msg: string };
Expand Down

0 comments on commit 6e14cee

Please sign in to comment.