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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Why TypeScript doesn't allow this (tried in http://www.typescriptlang.org/Playground/ )
class A { a : number; b : typeof a; // Cannot find name 'a' }
The text was updated successfully, but these errors were encountered:
Remember that in a class, you have to qualify member access with this..
this.
Even so, this won't work (as discussed in #1554).
Sorry, something went wrong.
No branches or pull requests
Why TypeScript doesn't allow this (tried in http://www.typescriptlang.org/Playground/ )
The text was updated successfully, but these errors were encountered: