This commit is contained in:
Henning Dieterichs
2023-11-14 18:18:48 +01:00
committed by Henning Dieterichs
parent 028e94157e
commit a7f57a4eae
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@ import { URI } from 'vs/base/common/uri';
* This would make monaco-editor consumption much more difficult though.
*/
export interface IWorkbenchUIElementFactory {
createResourceLabel(element: HTMLElement): IResourceLabel;
createResourceLabel?(element: HTMLElement): IResourceLabel;
}
export interface IResourceLabel extends IDisposable {
@@ -102,7 +102,7 @@ export function createDiffEditor(domElement: HTMLElement, options?: IStandaloneD
export function createMultiFileDiffEditor(domElement: HTMLElement, override?: IEditorOverrideServices) {
const instantiationService = StandaloneServices.initialize(override || {});
return new MultiDiffEditorWidget(domElement, instantiationService);
return new MultiDiffEditorWidget(domElement, {}, instantiationService);
}
/**