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(() => {
|
onMounted(() => {
|
||||||
if (!el.value) return
|
if (!el.value) return
|
||||||
monaco.editor.defineTheme('sanguo-dark', {
|
monaco.editor.defineTheme('sanguo-dark', {
|
||||||
name: 'sanguo-dark',
|
|
||||||
base: 'vs-dark',
|
base: 'vs-dark',
|
||||||
inherit: true,
|
inherit: true,
|
||||||
rules: [
|
rules: [
|
||||||
|
|||||||
Reference in New Issue
Block a user