zhengyiming
2025-02-11 d853816c959089a545f57a2980ca3f42fdd20fa1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { ComponentObjectPropsOptions as VComponentObjectPropsOptions } from 'vue';
import Taro from '@tarojs/taro'
 
type Data = {
    [x: string]: unknown;
}
 
declare global {
    type ComponentObjectPropsOptions<T=Data> = VComponentObjectPropsOptions<T>
 
    interface Window {
        uni: Taro
    }
}