vue-router-auto-resolver.d.mts 571 B

12345678910111213141516171819202122
  1. /**
  2. * TODO: remove the declaration if possible when merging unplugin-vue-router into this monorepo
  3. */
  4. declare module 'vue-router/auto-resolver' {
  5. import type {
  6. EXPERIMENTAL_Router,
  7. EXPERIMENTAL_RouterOptions,
  8. } from 'vue-router/experimental'
  9. /**
  10. * Handles HMR.
  11. * Generated by unplugin-vue-router
  12. */
  13. export function handleHotUpdate(router: EXPERIMENTAL_Router): void
  14. /**
  15. * Custom resolver automatically generated at build time
  16. * Generated by unplugin-vue-router
  17. */
  18. export const resolver: EXPERIMENTAL_RouterOptions['resolver']
  19. }