Skip to content

Commit

Permalink
Merge pull request #17 from zewa666/patch-1
Browse files Browse the repository at this point in the history
fix(generator): export type Expectation
  • Loading branch information
pjmolina authored May 29, 2018
2 parents e38e8bd + fef2d3c commit 6332dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/passes/generate-ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ function generateTS(ast, options) {
" description: string;",
"}",
"",
"type Expectation = ILiteralExpectation | IClassExpectation | IAnyExpectation | IEndExpectation | IOtherExpectation;",
"export type Expectation = ILiteralExpectation | IClassExpectation | IAnyExpectation | IEndExpectation | IOtherExpectation;",
"",
"export class SyntaxError extends Error {",
" public static buildMessage(expected: Expectation[], found: string | null) {",
Expand Down

0 comments on commit 6332dfc

Please sign in to comment.