Skip to content

feat: add TokContext as type (now that not exported as type from acorn)#139

Open
brettz9 wants to merge 1 commit intoacornjs:mainfrom
brettz9:types
Open

feat: add TokContext as type (now that not exported as type from acorn)#139
brettz9 wants to merge 1 commit intoacornjs:mainfrom
brettz9:types

Conversation

@brettz9
Copy link
Copy Markdown
Contributor

@brettz9 brettz9 commented Oct 27, 2025

With your unreleased changes merged into master, there has since become a problem with some referenced types no longer being present in acorn.

In this PR, I made the parser type argument of override as any due to the complexity of the Parser class not being exported from acorn. See acornjs/acorn#1260 and acornjs/acorn#1404 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant