Skip to content

Commit

Permalink
Update RFC 0821 ready-for-release PR URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember.js RFCS CI authored and wagenet committed Dec 13, 2022
1 parent 09bc1da commit c15b203
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions text/0821-public-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ teams:
- learning
prs:
accepted: 'https://github.com/emberjs/rfcs/pull/821'
ready-for-release: 'https://github.com/emberjs/rfcs/pull/874'
project-link:
---

Expand Down Expand Up @@ -283,7 +284,7 @@ class _Transition<T = unknown>
implements Pick<Promise<T>, 'then' | 'catch' | 'finally'> {

data: Record<string, unknown>;
readonly from: RouteInfoWithAttributes<T> |;
readonly from: RouteInfoWithAttributes<T> | null;
readonly promise: Promise<T>;
readonly to: RouteInfo | RouteInfoWithAttributes<T>;
abort(): Transition<T>;
Expand Down Expand Up @@ -332,12 +333,12 @@ function takesTransition(theTransition) {

```ts
export default interface RouteInfo {
readonly child: RouteInfo |;
readonly child: RouteInfo | null;
readonly localName: string;
readonly name: string;
readonly paramNames: string[];
readonly params: Record<string, string | undefined>;
readonly parent: RouteInfo |;
readonly parent: RouteInfo | null;
readonly queryParams: Record<string, string | undefined>;
readonly metadata: unknown;
find(
Expand Down

0 comments on commit c15b203

Please sign in to comment.