From b60fc6bd80860b5c4be0f4aa664d0f2d12fdcaba Mon Sep 17 00:00:00 2001 From: Timi Date: Fri, 16 Oct 2026 18:33:32 +0800 Subject: [PATCH] fix directives warning --- src/env.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/env.d.ts diff --git a/src/env.d.ts b/src/env.d.ts new file mode 100644 index 0000000..8f003fb --- /dev/null +++ b/src/env.d.ts @@ -0,0 +1,11 @@ +/// + +import type { VCan } from "timi-web-api"; +import type { VEntranceTransition } from "timi-tdesign-mobile"; + +declare module "vue" { + interface GlobalDirectives { + vEntranceTransition: typeof VEntranceTransition; + vCan: typeof VCan; + } +}