From 0438a2dcfba17278549e9f11ebbe99c968fb43d7 Mon Sep 17 00:00:00 2001 From: youzi <2410633923@qq.com> Date: Fri, 8 Aug 2025 11:28:02 +0800 Subject: [PATCH] =?UTF-8?q?ts=E8=A7=84=E5=88=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env.d.ts | 4 ++++ extra.d.ts | 1 + tsconfig.app.json | 9 ++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 extra.d.ts diff --git a/env.d.ts b/env.d.ts index 28c4030..f06121c 100644 --- a/env.d.ts +++ b/env.d.ts @@ -14,5 +14,9 @@ declare global { $store:any } } + + + + export { }; diff --git a/extra.d.ts b/extra.d.ts new file mode 100644 index 0000000..14f3607 --- /dev/null +++ b/extra.d.ts @@ -0,0 +1 @@ +declare module "aplayer"; diff --git a/tsconfig.app.json b/tsconfig.app.json index 69fb2a9..0de4efd 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -1,6 +1,13 @@ { "extends": "@vue/tsconfig/tsconfig.dom.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue","auto-imports.d.ts", "components.d.ts"], + "include": [ + "env.d.ts", + "src/**/*", + "src/**/*.vue", + "auto-imports.d.ts", + "components.d.ts", + "extra.d.ts" + ], "exclude": ["src/**/__tests__/*"], "compilerOptions": { "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",