From f32681e64701affed74c3f83debc3feea4b9ec51 Mon Sep 17 00:00:00 2001 From: Rui Wu Date: Wed, 7 Aug 2024 16:03:45 +0800 Subject: [PATCH] fix: fix type errors --- packages/uni-app-components/shims-vue.d.ts | 1 + packages/uni-app-components/tsconfig.json | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) create mode 100644 packages/uni-app-components/shims-vue.d.ts diff --git a/packages/uni-app-components/shims-vue.d.ts b/packages/uni-app-components/shims-vue.d.ts new file mode 100644 index 0000000..11a8c6e --- /dev/null +++ b/packages/uni-app-components/shims-vue.d.ts @@ -0,0 +1 @@ +declare module "*.vue"; diff --git a/packages/uni-app-components/tsconfig.json b/packages/uni-app-components/tsconfig.json index 8b50285..77a3932 100644 --- a/packages/uni-app-components/tsconfig.json +++ b/packages/uni-app-components/tsconfig.json @@ -6,11 +6,5 @@ "vueCompilerOptions": { "plugins": ["@uni-helper/uni-types/volar-plugin"] }, - "include": [ - "src/**/*.ts", - "src/**/*.d.ts", - "src/**/*.tsx", - "src/**/*.vue", - "*.d.ts" - ] + "include": ["src/**/*.ts", "src/**/*.vue", "*.d.ts"] }