shims.d.ts 542 B

123456789101112131415161718
  1. /// <reference types="vue/macros-global" />
  2. /// <reference types="unplugin-vue-define-options" />
  3. // Mocks all files ending in `.vue` showing them as plain Vue instances
  4. declare interface Window {
  5. // extend the window
  6. }
  7. import type { AttributifyAttributes } from '@unocss/preset-attributify'
  8. declare module '@vue/runtime-dom' {
  9. interface HTMLAttributes extends AttributifyAttributes {}
  10. }
  11. declare module '*.vue' {
  12. import type { DefineComponent } from 'vue'
  13. const component: DefineComponent<{}, {}, any>
  14. export default component
  15. }