fix(config): fix extendRoutes method type (#5841)

This commit is contained in:
Anthony Fu 2019-06-07 17:36:40 +08:00 committed by Pooya Parsa
parent 0e2965319d
commit 371c93ed04

View File

@ -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 {