back to more conventinal api proposal, #34968

This commit is contained in:
Johannes Rieken
2018-06-05 17:05:13 +02:00
parent fa95a20cee
commit 9a86a83b50
6 changed files with 40 additions and 66 deletions

View File

@@ -708,15 +708,9 @@ export function createApiFactory(
StatusBarAlignment: extHostTypes.StatusBarAlignment,
SymbolInformation: extHostTypes.SymbolInformation,
SymbolInformation2: class extends extHostTypes.SymbolInformation2 {
constructor(name, detail, kind, range, location) {
constructor(name, kind, containerName, location) {
checkProposedApiEnabled(extension);
super(name, detail, kind, range, location);
}
},
Hierarchy: class <T> extends extHostTypes.Hierarchy<T> {
constructor(parent: T) {
checkProposedApiEnabled(extension);
super(parent);
super(name, kind, containerName, location);
}
},
SymbolKind: extHostTypes.SymbolKind,