Adds JSDocs to the new NavigationLeafRoute params

This commit is contained in:
Fellipe Chagas 2018-11-22 18:41:13 -02:00
parent eea8aaf433
commit dabc2bf03a

View File

@ -133,7 +133,13 @@ export interface NavigationLeafRoute<Params = NavigationParams> {
* e.g. `{ car_id: 123 }` in a route that displays a car.
*/
params?: Params;
/**
* Array containing the navigator's routes
*/
routes: NavigationRoute[];
/**
* Flag that indicates the transition state of the route
*/
isTransitioning: boolean;
}