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
static property error undefined
Playground link with relevant code
class A { hello() {} } class B { static a: A } B.a.hello() // crash
Crash because ts assumed that the static property was not undefined
Either require a definite assignment assertion or an inline assignment
The text was updated successfully, but these errors were encountered:
Duplicate of #27899. Search terms: static undefined
static undefined
Sorry, something went wrong.
No branches or pull requests
Bug Report
π Search Terms
static property error undefined
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
Crash because ts assumed that the static property was not undefined
π Expected behavior
Either require a definite assignment assertion or an inline assignment
The text was updated successfully, but these errors were encountered: