-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Enable strictPropertyInitialization
#78168
Comments
Adding it to next milestone so it shows up in my issue query for debt week. |
Went through a bunch of these. |
Getting there: @chrmarti if you do yours I can maybe look into Sandeeps. |
@bpasero Done. 👍 |
Looks like Sandy is back :) |
Yes, I am back and on to this 😄 |
✅ |
@mjbvz d.ts & webview |
Fixed
|
Ping @alexr00 for |
I went ahead and resolved those so that we do not have to play the catch up game all the time 👍 |
We have enabled
strictNullChecks
, but the TS compiler doesn't catch the following:Possible fixes:
In order to get errors for such cases, we need to add
"strictPropertyInitialization": true
to ourtsconfig.json
.@microsoft/vscode it would be nice if we could tackle some of these errors during debt week.
[edit 11.11]: There are 8 errors left:
vs/base/browser/ui/tree/asyncDataTree.ts
@joaomorenosrc/vs/workbench/api/common/extHostTypes.ts
@jriekensrc/vs/workbench/api/common/extHostWebview.ts
@mjbvzThe text was updated successfully, but these errors were encountered: