| | |
| | | import { ComponentObjectPropsOptions as VComponentObjectPropsOptions } from 'vue'; |
| | | import Taro from '@tarojs/taro' |
| | | |
| | | type Data = { |
| | | [x: string]: unknown; |
| | | declare module '*.vue' { |
| | | import { DefineComponent } from 'vue'; |
| | | const component: DefineComponent<{}, {}, any>; |
| | | export default component; |
| | | } |
| | | |
| | | declare global { |
| | | type ComponentObjectPropsOptions<T=Data> = VComponentObjectPropsOptions<T> |
| | | |
| | | interface Window { |
| | | uni: Taro |
| | | } |
| | | declare module '*.scss' { |
| | | const scss: Record<string, string>; |
| | | export default scss; |
| | | } |
| | | |
| | | declare module 'vuedraggable/src/vuedraggable'; |