-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
add rule to enforce initialization of static properties #557
Comments
Upstream issue: microsoft/TypeScript#27899 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
strictPropertyInitialization
only works with instance properties. The proposed rule would enforce every static property (except for ambient declarations) whose type doesn't allowundefined
to have an initializer.The text was updated successfully, but these errors were encountered: