Skip to content

Commit 933c4e0

Browse files
authored
Explicitly ignore unused var in TypeScript (#4709)
Signed-off-by: guidsdo <[email protected]> Co-authored-by: guidsdo <[email protected]>
1 parent ce2557f commit 933c4e0

File tree

1 file changed

+2
-1
lines changed
  • tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript

1 file changed

+2
-1
lines changed

tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ import <file.grammarName>Visitor from "./<file.grammarName>Visitor.js";
3333
<endif>
3434

3535
// for running tests with parameters, TODO: discuss strategy for typed parameters in CI
36-
// eslint-disable-next-line no-unused-vars
36+
// @ts-ignore
37+
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
3738
type int = number;
3839

3940
<namedActions.header>

0 commit comments

Comments
 (0)