mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
replace void 0 with undefined
This commit is contained in:
@@ -124,7 +124,7 @@ class PendingDiagnostics extends ResourceMap<number> {
|
||||
|
||||
const map = new ResourceMap<void>();
|
||||
for (const resource of orderedResources) {
|
||||
map.set(resource, void 0);
|
||||
map.set(resource, undefined);
|
||||
}
|
||||
return map;
|
||||
}
|
||||
@@ -355,7 +355,7 @@ export default class BufferSyncSupport extends Disposable {
|
||||
|
||||
// Add all open TS buffers to the geterr request. They might be visible
|
||||
for (const buffer of this.syncedBuffers.values) {
|
||||
orderedFileSet.set(buffer.resource, void 0);
|
||||
orderedFileSet.set(buffer.resource, undefined);
|
||||
}
|
||||
|
||||
if (orderedFileSet.size) {
|
||||
@@ -363,7 +363,7 @@ export default class BufferSyncSupport extends Disposable {
|
||||
this.pendingGetErr.cancel();
|
||||
|
||||
for (const file of this.pendingGetErr.files.entries) {
|
||||
orderedFileSet.set(file.resource, void 0);
|
||||
orderedFileSet.set(file.resource, undefined);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user