fix(manager-mobile): track wot-design-uni typings despite src/types gitignore

Type stubs must be force-added; plain git add manager-mobile/ skipped this path.
This commit is contained in:
lapy 2026-04-25 17:06:19 +01:00
parent 36ddc0bad2
commit 2cbc525114
3 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,8 @@
declare module 'wot-design-uni' {
export type ConfigProviderThemeVars = Record<string, string | number | undefined>
export function useMessage(): any
export function useToast(): any
}
export {}

View file

@ -0,0 +1,5 @@
declare module 'wot-design-uni/components/wd-toast' {
export function useToast(): any
}
export {}

View file

@ -0,0 +1,9 @@
import type { DefineComponent } from 'vue'
declare module 'vue' {
export interface GlobalComponents {
[key: `Wd${string}`]: DefineComponent<Record<string, never>, Record<string, never>, any>
}
}
export {}