shims-uni.d.ts 422 B

1234567891011121314151617
  1. /*
  2. * @Author: wjc
  3. * @Date: 2024-06-05 15:57:41
  4. * @LastEditors: wjc
  5. * @LastEditTime: 2024-07-12 16:44:10
  6. * @Description:
  7. */
  8. /// <reference types='@dcloudio/types' />
  9. import 'vue'
  10. declare module '@vue/runtime-core' {
  11. type Hooks = App.AppInstance & Page.PageInstance
  12. interface ComponentCustomOptions extends Hooks {}
  13. interface ComponentCustomProperties {
  14. $tt?: (template: string, data?: any) => string
  15. }
  16. }