mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(config): fix extendRoutes
method type (#5841)
This commit is contained in:
parent
0e2965319d
commit
371c93ed04
2
packages/config/types/router.d.ts
vendored
2
packages/config/types/router.d.ts
vendored
@ -9,6 +9,8 @@ import { RouterOptions, RouteConfig } from 'vue-router'
|
||||
|
||||
export interface NuxtRouteConfig extends RouteConfig {
|
||||
chunkNames: { [key: string]: string }
|
||||
component?: RouteConfig['component'] | string
|
||||
children?: NuxtRouteConfig[]
|
||||
}
|
||||
|
||||
export interface NuxtConfigurationRouter extends RouterOptions {
|
||||
|
Loading…
Reference in New Issue
Block a user