mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
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:
parent
36ddc0bad2
commit
2cbc525114
3 changed files with 22 additions and 0 deletions
8
main/manager-mobile/src/types/wot-design-uni-api.d.ts
vendored
Normal file
8
main/manager-mobile/src/types/wot-design-uni-api.d.ts
vendored
Normal 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 {}
|
||||
5
main/manager-mobile/src/types/wot-design-uni-toast.d.ts
vendored
Normal file
5
main/manager-mobile/src/types/wot-design-uni-toast.d.ts
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
declare module 'wot-design-uni/components/wd-toast' {
|
||||
export function useToast(): any
|
||||
}
|
||||
|
||||
export {}
|
||||
9
main/manager-mobile/src/types/wot-design-uni.d.ts
vendored
Normal file
9
main/manager-mobile/src/types/wot-design-uni.d.ts
vendored
Normal 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 {}
|
||||
Loading…
Reference in a new issue