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
% tsc --version Version 2.0.6
class SomeClass { private method = () => { } public handler() { const {method} = this; method(); } }
and then compile file: tsc <file> --noUnusedLocals
tsc <file> --noUnusedLocals
Expected No errors
Actual TS6133.ts(2,10): error TS6133: 'method' is declared but never used.
The text was updated successfully, but these errors were encountered:
Similar #11324 ?
Sorry, something went wrong.
@wallverb actually duplicate
No branches or pull requests
and then compile file:
tsc <file> --noUnusedLocals
Expected
No errors
Actual
TS6133.ts(2,10): error TS6133: 'method' is declared but never used.
The text was updated successfully, but these errors were encountered: