From 487cb28bd359587e67794b25b144b7df83ddf1a2 Mon Sep 17 00:00:00 2001 From: Johannes Heesterman Date: Tue, 26 Sep 2023 09:06:04 +0200 Subject: [PATCH] fix: TypeScript: incorrect type in CommonTokenStream Signed-off-by: Johannes Heesterman --- runtime/JavaScript/src/antlr4/CommonTokenStream.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/JavaScript/src/antlr4/CommonTokenStream.d.ts b/runtime/JavaScript/src/antlr4/CommonTokenStream.d.ts index 92ede4f710..0f76f32ec7 100644 --- a/runtime/JavaScript/src/antlr4/CommonTokenStream.d.ts +++ b/runtime/JavaScript/src/antlr4/CommonTokenStream.d.ts @@ -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);