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
Version: 2.0.0-dev.20160629
Compile below code with --noUnused Locals tsc --noUnusedLocals test.ts
tsc --noUnusedLocals test.ts
class test { public testMethod() { var that = this; setTimeout(() => { that.testMethod(); }, 100); } }
Expected No errors but got one for test.ts(5,13): error TS6133: 'that' is declared but never used.
test.ts(5,13): error TS6133: 'that' is declared but never used.
The text was updated successfully, but these errors were encountered:
duplicate of #9403
Sorry, something went wrong.
No branches or pull requests
Version: 2.0.0-dev.20160629
Compile below code with --noUnused Locals
tsc --noUnusedLocals test.ts
Expected
No errors but got one for
test.ts(5,13): error TS6133: 'that' is declared but never used.
The text was updated successfully, but these errors were encountered: