Skip to content

Commit ba9242d

Browse files
committed
fix return type
1 parent 8450414 commit ba9242d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/codeeditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export async function createMonaco(textarea: HTMLTextAreaElement, filename: stri
162162
return {monaco, editor};
163163
}
164164

165-
function getFileBasedOptions(filename: string, lineWrapExts: string[]): IEditorOptions & IGlobalEditorOptions {
165+
function getFileBasedOptions(filename: string, lineWrapExts: string[]): MonacoOpts {
166166
return {
167167
wordWrap: (lineWrapExts || []).includes(extname(filename)) ? 'on' : 'off',
168168
};

0 commit comments

Comments
 (0)