typeing.d.ts 314 B

12345678910111213141516171819
  1. declare namespace ROUTER {
  2. type RoutesProps = RouteRecordRaw & {
  3. title: string,
  4. link: boolean
  5. }
  6. type RouterRecords = {
  7. navbar: {
  8. route: RoutesProps[],
  9. selectPath: string
  10. },
  11. sider: {
  12. route: RoutesProps[],
  13. selectPath: string,
  14. openKeys: string[]
  15. },
  16. }
  17. }