| 1234567891011121314151617 |
- /*
- * @Author: wjc
- * @Date: 2025-04-09 10:19:11
- * @LastEditors: wjc
- * @LastEditTime: 2026-01-16 14:34:14
- * @Description: 扩展 uni-app 类型定义
- */
- // / <reference types='@dcloudio/types' />
- import 'vue'
- declare module '@vue/runtime-core' {
- type Hooks = App.AppInstance & Page.PageInstance
- interface ComponentCustomOptions extends Hooks, ComponentOptions.VueOptions {}
- interface ComponentCustomProperties {
- $tt?: (template: string, data?: any) => string
- }
- }
|