-
Notifications
You must be signed in to change notification settings - Fork 677
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 noImplicitAny
and alwaysStrict
in `tsconfig.json
#2159
Changes from 6 commits
7f1202f
25a84ed
424feb9
8a86dc0
f701593
8803b80
2341751
75acb24
959426d
23366a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,11 +59,11 @@ export class Advisor { | |
|
||
private _removeProjectFileCount(info: protocol.ProjectInformationResponse): void { | ||
if (info.DotNetProject && info.DotNetProject.SourceFiles) { | ||
delete this._updateProjectFileCount[info.DotNetProject.Path]; | ||
delete this._projectSourceFileCounts[info.DotNetProject.Path]; | ||
} | ||
|
||
if (info.MsBuildProject && info.MsBuildProject.SourceFiles) { | ||
delete this._updateProjectFileCount[info.MsBuildProject.Path]; | ||
delete this._projectSourceFileCounts[info.MsBuildProject.Path]; | ||
} | ||
} | ||
|
||
|
@@ -162,17 +162,17 @@ class DiagnosticsProvider extends AbstractSupport { | |
} | ||
|
||
private _onDocumentRemove(document: vscode.TextDocument) { | ||
let key = document.uri.toString(); | ||
let key = document.uri; | ||
let didChange = false; | ||
if (this._diagnostics[key]) { | ||
if (this._diagnostics.get(key)) { | ||
didChange = true; | ||
this._diagnostics[key].dispose(); | ||
delete this._diagnostics[key]; | ||
this._diagnostics.delete(key); | ||
} | ||
if (this._documentValidations[key]) { | ||
|
||
if (this._documentValidations[key.toString()]) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we did |
||
didChange = true; | ||
this._documentValidations[key].cancel(); | ||
delete this._documentValidations[key]; | ||
this._documentValidations[key.toString()].cancel(); | ||
delete this._documentValidations[key.toString()]; | ||
} | ||
if (didChange) { | ||
this._validateProject(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not using these imports anywhere ?