mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Use key of instead of key in
This commit is contained in:
@@ -59,7 +59,7 @@ export class DiagnosticsManager {
|
||||
public dispose() {
|
||||
this._currentDiagnostics.dispose();
|
||||
|
||||
for (const key in Object.keys(this._pendingUpdates)) {
|
||||
for (const key of Object.keys(this._pendingUpdates)) {
|
||||
clearTimeout(this._pendingUpdates[key]);
|
||||
delete this._pendingUpdates[key];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user