fix(monaco): defineTheme 去掉多余 name 字段(治 CI build TS2353) [nas]
This commit is contained in:
@@ -31,7 +31,6 @@ let editor: monaco.editor.IStandaloneCodeEditor | null = null
|
||||
onMounted(() => {
|
||||
if (!el.value) return
|
||||
monaco.editor.defineTheme('sanguo-dark', {
|
||||
name: 'sanguo-dark',
|
||||
base: 'vs-dark',
|
||||
inherit: true,
|
||||
rules: [
|
||||
|
||||
Reference in New Issue
Block a user