🔧(typescript): 新增 jsx 配置 preserve 选项
This commit is contained in:
parent
36097784e6
commit
91c92ddbf2
@ -11,6 +11,7 @@
|
|||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"declarationDir": "types",
|
"declarationDir": "types",
|
||||||
|
"jsx": "preserve",
|
||||||
"lib": ["ESNext","DOM"]
|
"lib": ["ESNext","DOM"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*","shims-vue.d.ts"],
|
"include": ["src/**/*","shims-vue.d.ts"],
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"declarationDir": "types",
|
"declarationDir": "types",
|
||||||
|
"jsx": "preserve",
|
||||||
"lib": ["ESNext", "DOM"],
|
"lib": ["ESNext", "DOM"],
|
||||||
},
|
},
|
||||||
"include": ["src/**/*", "shims-vue.d.ts"],
|
"include": ["src/**/*", "shims-vue.d.ts"],
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"declarationDir": "types",
|
"declarationDir": "types",
|
||||||
|
"jsx": "preserve",
|
||||||
"lib": ["ESNext","DOM"]
|
"lib": ["ESNext","DOM"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*","shims-vue.d.ts"],
|
"include": ["src/**/*","shims-vue.d.ts"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user