From 360c86c5ee2a02f1a081db5e61dd815ce5eda0fc Mon Sep 17 00:00:00 2001 From: Eric Vergnaud Date: Sun, 7 Apr 2024 10:30:02 +0200 Subject: [PATCH] add missing constants --- .../antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg index 4b1cb2c591..91601615ce 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg @@ -870,6 +870,9 @@ import from './.js'; export default class extends { = ;}; separator="\n"> public static readonly EOF = Token.EOF; + + = ;}; separator="\n"> + = ;}; separator="\n"> public static readonly channelNames: string[] = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN", "}; separator=", ", wrap, anchor> ];