🔧(typescript): 新增 jsx 配置 preserve 选项

This commit is contained in:
就眠儀式 2022-05-25 00:24:15 +08:00
parent 36097784e6
commit 91c92ddbf2
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
"emitDeclarationOnly": true,
"esModuleInterop": true,
"declarationDir": "types",
"jsx": "preserve",
"lib": ["ESNext","DOM"]
},
"include": ["src/**/*","shims-vue.d.ts"],

View File

@ -11,6 +11,7 @@
"emitDeclarationOnly": true,
"esModuleInterop": true,
"declarationDir": "types",
"jsx": "preserve",
"lib": ["ESNext", "DOM"],
},
"include": ["src/**/*", "shims-vue.d.ts"],

View File

@ -11,6 +11,7 @@
"emitDeclarationOnly": true,
"esModuleInterop": true,
"declarationDir": "types",
"jsx": "preserve",
"lib": ["ESNext","DOM"]
},
"include": ["src/**/*","shims-vue.d.ts"],