vite-env.d.ts 402 B

123456789101112131415
  1. /// <reference types="vite/client" />
  2. /** 代指任意类型 请不要随意使用 */
  3. // eslint-disable-next-line @typescript-eslint/no-explicit-any
  4. declare type Any = any
  5. declare module '*.vue' {
  6. import type { DefineComponent } from 'vue'
  7. const component: DefineComponent<{}, {}, Any>
  8. export default component
  9. }
  10. declare const wx
  11. interface Window {
  12. $notification: NotificationApiInjection;
  13. }