提交 e8c5cb72 编写于 作者: M Matt Bierner

Use key of instead of key in

上级 07299ba7
......@@ -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];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册