diff --git a/lib/router/route-info.ts b/lib/router/route-info.ts index 9938700..e65f71e 100644 --- a/lib/router/route-info.ts +++ b/lib/router/route-info.ts @@ -224,7 +224,7 @@ export default class InternalRouteInfo { name: string; params: Dict | undefined = {}; queryParams?: Dict; - context?: ModelFor | PromiseLike>; + context?: ModelFor | PromiseLike> | undefined; isResolved = false; constructor(router: Router, name: string, paramNames: string[], route?: R) {