Skip to content

Commit f330549

Browse files
authored
Merge pull request #166 from CodinGame/fix-wrong-type
Fix wrong type
2 parents cba40c0 + 427c62f commit f330549

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rollup/rollup.types.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const DIST_DIR = path.join(__dirname, '../dist')
2020
const interfaceOverride = new Map<string, string>()
2121
interfaceOverride.set('Event<T>', 'vscode.Event<T>')
2222
interfaceOverride.set('ICodeEditor', 'monaco.editor.ICodeEditor')
23+
interfaceOverride.set('IEditor', 'monaco.editor.IEditor')
2324
interfaceOverride.set('URI', 'monaco.Uri')
2425
interfaceOverride.set('ITextModel', 'monaco.editor.ITextModel')
2526
interfaceOverride.set('vs/editor/common/config/editorOptions:IEditorOptions', 'monaco.editor.IEditorOptions')

src/service-override/editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class SimpleEditorService extends Disposable implements IEditorService {
6363
activeTextEditorLanguageId: string | undefined
6464
visibleEditorPanes: IVisibleEditorPane[] = []
6565
visibleEditors: EditorInput[] = []
66-
visibleTextEditorControls: Array<ICodeEditor | IDiffEditor> = []
66+
visibleTextEditorControls: Array<IEditor | IDiffEditor> = []
6767
editors: EditorInput[] = []
6868
count: number = 0
6969
getEditors: (order: EditorsOrder, options?: { excludeSticky?: boolean }) => readonly IEditorIdentifier[] = () => []

0 commit comments

Comments
 (0)