remove custom declares of ES6'ish types

This commit is contained in:
Johannes Rieken
2016-12-28 16:08:31 +01:00
parent 598ec368b7
commit 3fde440262
2 changed files with 1 additions and 19 deletions

View File

@@ -18,13 +18,6 @@ import { ExtHostDocuments } from 'vs/workbench/api/node/extHostDocuments';
import { SaveReason } from 'vs/workbench/services/textfile/common/textfiles';
import * as vscode from 'vscode';
declare class WeakMap<K, V> {
// delete(key: K): boolean;
get(key: K): V;
// has(key: K): boolean;
set(key: K, value?: V): WeakMap<K, V>;
}
export class ExtHostDocumentSaveParticipant extends ExtHostDocumentSaveParticipantShape {
private _documents: ExtHostDocuments;
@@ -168,4 +161,4 @@ export class ExtHostDocumentSaveParticipant extends ExtHostDocumentSaveParticipa
return TPromise.wrapError(new Error('concurrent_edits'));
});
}
}
}