Skip to content

Commit

Permalink
Fix incorrect method signature
Browse files Browse the repository at this point in the history
The issue is not reported by the compiler. See microsoft/TypeScript#27523.
  • Loading branch information
sharwell committed Nov 28, 2018
1 parent 5adcaa1 commit fe8cf73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommonTokenFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class CommonTokenFactory implements TokenFactory {
public create(
source: { source?: TokenSource, stream?: CharStream },
type: number,
text: string,
text: string | undefined,
channel: number,
start: number,
stop: number,
Expand Down

0 comments on commit fe8cf73

Please sign in to comment.