File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 - learning
1010prs :
1111 accepted : ' https://github.com/emberjs/rfcs/pull/821'
12+ ready-for-release : ' https://github.com/emberjs/rfcs/pull/874'
1213project-link :
1314---
1415
@@ -283,7 +284,7 @@ class _Transition<T = unknown>
283284 implements Pick <Promise <T >, ' then' | ' catch' | ' finally' > {
284285
285286 data: Record <string , unknown >;
286- readonly from: RouteInfoWithAttributes <T > | ;
287+ readonly from: RouteInfoWithAttributes <T > | null ;
287288 readonly promise: Promise <T >;
288289 readonly to: RouteInfo | RouteInfoWithAttributes <T >;
289290 abort(): Transition <T >;
@@ -332,12 +333,12 @@ function takesTransition(theTransition) {
332333
333334``` ts
334335export default interface RouteInfo {
335- readonly child: RouteInfo | ;
336+ readonly child: RouteInfo | null ;
336337 readonly localName: string ;
337338 readonly name: string ;
338339 readonly paramNames: string [];
339340 readonly params: Record <string , string | undefined >;
340- readonly parent: RouteInfo | ;
341+ readonly parent: RouteInfo | null ;
341342 readonly queryParams: Record <string , string | undefined >;
342343 readonly metadata: unknown ;
343344 find(
You can’t perform that action at this time.
0 commit comments