mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
simplify URI implementation
This commit is contained in:
@@ -531,7 +531,7 @@ export function createApiFactory(
|
||||
TextEditorRevealType: extHostTypes.TextEditorRevealType,
|
||||
TextEditorSelectionChangeKind: extHostTypes.TextEditorSelectionChangeKind,
|
||||
DecorationRangeBehavior: extHostTypes.DecorationRangeBehavior,
|
||||
Uri: URI,
|
||||
Uri: extHostTypes.Uri,
|
||||
ViewColumn: extHostTypes.ViewColumn,
|
||||
WorkspaceEdit: extHostTypes.WorkspaceEdit,
|
||||
ProgressLocation: extHostTypes.ProgressLocation,
|
||||
|
||||
@@ -488,7 +488,12 @@ export class TextEdit {
|
||||
}
|
||||
}
|
||||
|
||||
export class Uri extends URI { }
|
||||
export class Uri extends URI {
|
||||
|
||||
private constructor() {
|
||||
super(undefined, undefined, undefined, undefined, undefined);
|
||||
}
|
||||
}
|
||||
|
||||
export class WorkspaceEdit {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user