antlr4 icon indicating copy to clipboard operation
antlr4 copied to clipboard

@types/antlr4 out of date

Open david-wb opened this issue 3 years ago • 1 comments

I'm trying to use the antlr4-10.1 JavaScript runtime in a TypeScript project. Unfortunately, it looks like the type declaration package @types/antlr4 is stuck at version 4.7.2. Why is that? Is there any other way to get accurate typings for the 10.1 JS runtime?

david-wb avatar Jul 13 '22 09:07 david-wb

That package is not an official package from this org. Please reach out to them and close.

ericvergnaud avatar Jul 13 '22 10:07 ericvergnaud

Please check 4.12.0-beta.1 on npm which comes with supported typescript types. This is just the runtime, next antlr release will provide typescript as a target language.

ericvergnaud avatar Dec 22 '22 16:12 ericvergnaud