mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Annotate more usage before assign strict null errors
This commit is contained in:
@@ -120,7 +120,7 @@ export class DiagnosticCollection implements vscode.DiagnosticCollection {
|
||||
// compute change and send to main side
|
||||
const entries: [URI, IMarkerData[]][] = [];
|
||||
for (let uri of toSync) {
|
||||
let marker: IMarkerData[];
|
||||
let marker: IMarkerData[] | undefined;
|
||||
let diagnostics = this._data.get(uri.toString());
|
||||
if (diagnostics) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user