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; + } +}