File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {
672672 fsRoutes : Route [ ]
673673 redirects : Route [ ]
674674 catchAllRoute : Route
675- catchAllMiddleware ?: Route
675+ catchAllMiddleware ?: Route | undefined
676676 pageChecker : PageChecker
677677 useFileSystemPublicRoutes : boolean
678678 dynamicRoutes : DynamicRoutes | undefined
Original file line number Diff line number Diff line change @@ -459,10 +459,10 @@ export type BaseRouter = {
459459 query : ParsedUrlQuery
460460 asPath : string
461461 basePath : string
462- locale ?: string
463- locales ?: string [ ]
464- defaultLocale ?: string
465- domainLocales ?: DomainLocale [ ]
462+ locale ?: string | undefined
463+ locales ?: string [ ] | undefined
464+ defaultLocale ?: string | undefined
465+ domainLocales ?: DomainLocale [ ] | undefined
466466 isLocaleDomain : boolean
467467}
468468
@@ -637,11 +637,11 @@ export default class Router implements BaseRouter {
637637 events : MittEmitter < RouterEvent >
638638 _wrapApp : ( App : AppComponent ) => any
639639 isSsr : boolean
640- _inFlightRoute ?: string
641- _shallow ?: boolean
642- locales ?: string [ ]
643- defaultLocale ?: string
644- domainLocales ?: DomainLocale [ ]
640+ _inFlightRoute ?: string | undefined
641+ _shallow ?: boolean | undefined
642+ locales ?: string [ ] | undefined
643+ defaultLocale ?: string | undefined
644+ domainLocales ?: DomainLocale [ ] | undefined
645645 isReady : boolean
646646 isLocaleDomain : boolean
647647
You can’t perform that action at this time.
0 commit comments