typed-router.d.ts 964 B

1234567891011121314151617181920212223242526
  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. 'showdoc': RouteRecordInfo<'showdoc', '/showdoc/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
  22. 'showdoc': RouteRecordInfo<'showdoc', '/showdoc111', Record<never, never>, Record<never, never>>,
  23. }
  24. }