From bd76c5eb441133b8aeb96ab7a96326325e8b0b23 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 16 九月 2025 13:09:34 +0800 Subject: [PATCH] fix: s --- apps/cMiniApp/auto-imports.d.ts | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/apps/cMiniApp/auto-imports.d.ts b/apps/cMiniApp/auto-imports.d.ts index 6ec898a..e2b9d41 100644 --- a/apps/cMiniApp/auto-imports.d.ts +++ b/apps/cMiniApp/auto-imports.d.ts @@ -5,6 +5,7 @@ // Generated by unplugin-auto-import export {} declare global { + const APP_ENV: typeof import('./src/constants/app')['APP_ENV'] const AppLocalConfig: typeof import('./src/constants/app')['AppLocalConfig'] const BackType: typeof import('./src/constants/enum')['BackType'] const EffectScope: typeof import('vue')['EffectScope'] @@ -103,7 +104,7 @@ // for type re-export declare global { // @ts-ignore - export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' + export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' import('vue') // @ts-ignore export type { BackType, BackType } from './src/constants/enum' @@ -119,6 +120,7 @@ import { UnwrapRef } from 'vue' declare module 'vue' { interface ComponentCustomProperties { + readonly APP_ENV: UnwrapRef<typeof import('./src/constants/app')['APP_ENV']> readonly AppLocalConfig: UnwrapRef<typeof import('./src/constants/app')['AppLocalConfig']> readonly BackType: UnwrapRef<typeof import('./src/constants/enum')['BackType']> readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> -- Gitblit v1.9.1