From dabc2bf03a3acd325f92078c2139bd5d37dd9424 Mon Sep 17 00:00:00 2001 From: Fellipe Chagas Date: Thu, 22 Nov 2018 18:41:13 -0200 Subject: [PATCH] Adds JSDocs to the new NavigationLeafRoute params --- types/react-navigation/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index e51629f3af..615d79353d 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -133,7 +133,13 @@ export interface NavigationLeafRoute { * 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; }