zhengyiming
2025-03-20 3633cf70a3d835da15d27a91e7f8f8fd15dbcb35
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
    }
}