From 9b0ca62a73365664ac4d8f4ded9663581a67146d Mon Sep 17 00:00:00 2001 From: qiang Date: Fri, 25 Aug 2023 15:55:41 +0800 Subject: [PATCH] chore: add shims-uni.d.ts --- shims-uni.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shims-uni.d.ts diff --git a/shims-uni.d.ts b/shims-uni.d.ts new file mode 100644 index 0000000..d73d31e --- /dev/null +++ b/shims-uni.d.ts @@ -0,0 +1,8 @@ +import 'vue' + +declare module "@vue/runtime-core" { + type Hooks = App.AppInstance & Page.PageInstance; + interface ComponentCustomOptions extends Hooks { + + } +}