chore: update tsconfig.json

master
苏杰豪 1 year ago committed by dongmu
parent c6bbf2e352
commit c8cbd91ba0

@ -0,0 +1,11 @@
/**
* declare module '@vue/runtime-core'
*
* declare module 'vue'
*/
import 'vue'
declare module 'vue' {
export interface GlobalComponents {
//
}
}

@ -1,6 +1,7 @@
{ {
"extends": "@vue/tsconfig/tsconfig.json", "extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"allowJs": true,
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
@ -9,5 +10,9 @@
"lib": ["esnext", "dom"], "lib": ["esnext", "dom"],
"types": ["@dcloudio/types", "miniprogram-api-typings", "@uni-helper/uni-app-types"] "types": ["@dcloudio/types", "miniprogram-api-typings", "@uni-helper/uni-app-types"]
}, },
"vueCompilerOptions": {
// experimentalRuntimeMode nativeTags Volar
"nativeTags": ["block", "component", "template", "slot"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
} }

Loading…
Cancel
Save