We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript 5.2 adds support for using declarations, which Babel supports via https://babeljs.io/docs/babel-plugin-proposal-explicit-resource-management
using
Attempting to parse a file with using syntax currently results in this error:
SyntaxError: This experimental syntax requires enabling the parser plugin: "explicitResourceManagement".
It'd be nice to add explicitResourceManagement to the default set of settings in https://github.com/depcheck/depcheck/blob/3ae0c5e2afd16ae2df88283b0fc62bbaaac72eeb/src/parser/typescript.js
explicitResourceManagement
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Feature request description
TypeScript 5.2 adds support for
using
declarations, which Babel supports via https://babeljs.io/docs/babel-plugin-proposal-explicit-resource-managementAttempting to parse a file with
using
syntax currently results in this error:It'd be nice to add
explicitResourceManagement
to the default set of settings in https://github.com/depcheck/depcheck/blob/3ae0c5e2afd16ae2df88283b0fc62bbaaac72eeb/src/parser/typescript.jsThe text was updated successfully, but these errors were encountered: