shims-uni.d.ts 395 B

1234567891011121314151617
  1. /*
  2. * @Author: wjc
  3. * @Date: 2024-06-05 15:57:41
  4. * @LastEditors: wjc
  5. * @LastEditTime: 2024-07-12 10:33:30
  6. * @Description:
  7. */
  8. /// <reference types='@dcloudio/types' />
  9. import 'vue'
  10. import { formatI18n } from '@/locale'
  11. declare module '@vue/runtime-core' {
  12. type Hooks = App.AppInstance & Page.PageInstance
  13. interface ComponentCustomOptions extends Hooks {
  14. $$t: typeof formatI18n
  15. }
  16. }