zhengyiming
2025-02-10 0f686ea1fe4700a909a6159efcf1fcb0e1f88a17
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
    }
}