typed-router.d.ts 1.0 KB

123456789101112131415161718192021222324252627
  1. /* eslint-disable */
  2. /* prettier-ignore */
  3. // @ts-nocheck
  4. // Generated by unplugin-vue-router. ‼️ DO NOT MODIFY THIS FILE ‼️
  5. // It's recommended to commit this file.
  6. // Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
  7. declare module 'vue-router/auto-routes' {
  8. import type {
  9. RouteRecordInfo,
  10. ParamValue,
  11. ParamValueOneOrMore,
  12. ParamValueZeroOrMore,
  13. ParamValueZeroOrOne,
  14. } from 'vue-router'
  15. /**
  16. * Route name map generated by unplugin-vue-router
  17. */
  18. export interface RouteNamedMap {
  19. 'index': RouteRecordInfo<'index', '/', Record<never, never>, Record<never, never>>,
  20. '/about': RouteRecordInfo<'/about', '/about', Record<never, never>, Record<never, never>>,
  21. 'search': RouteRecordInfo<'search', '/search', Record<never, never>, Record<never, never>>,
  22. 'showcate': RouteRecordInfo<'showcate', '/showcate/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
  23. 'showdoc': RouteRecordInfo<'showdoc', '/showdoc/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
  24. }
  25. }