zhengyiming
2025-02-11 d4afc7562a9e2eab52e552834dd7c4c653da6c01
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
    }
}