Skip to content

Commit

Permalink
fix: TypeScript: incorrect type in CommonTokenStream
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Heesterman <johannes@elfsquad.io>
  • Loading branch information
johannesheesterman authored and parrt committed Sep 26, 2023
1 parent 0eb38a0 commit 487cb28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/JavaScript/src/antlr4/CommonTokenStream.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import {Lexer} from "./Lexer";
import {BufferedTokenStream} from "./BufferedTokenStream";
import {Token} from "./Token";

export declare class CommonTokenStream extends BufferedTokenStream {
// properties
tokens: string[];
tokens: Token[];
// methods
constructor(lexer: Lexer);
constructor(lexer: Lexer, channel: number);
Expand Down

0 comments on commit 487cb28

Please sign in to comment.