-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce new
@ember/routing
sub-modules
Add the `@ember/routing/transition` and `@ember/routing/route-info`, per RFC 0821. These match the existing public preview types.
- Loading branch information
1 parent
8497a5b
commit 6383470
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Provides the `RouteInfo` and `RouteInfoWithMetadata` types which appear as | ||
* the target and source routes for `Transition`s. | ||
* | ||
* @module @ember/routing/route-info | ||
*/ | ||
|
||
export type { RouteInfo as default, RouteInfoWithAttributes } from './lib/route-info'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Provides the `Transition` type which are used in Ember's routing transitions, | ||
* e.g. `RouterService.on('routeDidChange', (transition) => { ... })`. | ||
* | ||
* @module @ember/routing/transition | ||
*/ | ||
|
||
export type { Transition as default } from 'router_js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters