zhengyiming
2025-02-21 db9a1cb8638d0159e5bce586c0e6a0610bc2b625
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
    }
}