From 4d218666fb463c0c5f2d64e1e139018df8cfdf29 Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Fri, 22 Jan 2016 10:23:13 -0600 Subject: [PATCH] docs(navController): fix param parsing error Closes #5137 --- ionic/components/nav/nav-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ionic/components/nav/nav-controller.ts b/ionic/components/nav/nav-controller.ts index 4245f44bb2..4ce4a4e4e9 100644 --- a/ionic/components/nav/nav-controller.ts +++ b/ionic/components/nav/nav-controller.ts @@ -463,7 +463,7 @@ export class NavController extends Ion { * in and become the active page. * * @param {number} insertIndex The index where you want to insert the page - * @param {Array<{page: Type, params?: any}>} insertPages An array of objects, each with a `page` and optionally `params` property + * @param {Array<{page: Type, params=: any}>} insertPages An array of objects, each with a `page` and optionally `params` property * @param {object} [opts={}] Any options you want to use pass to transtion * @returns {Promise} Returns a promise when the pages have been inserted into the navigation stack */ @@ -1571,4 +1571,4 @@ const STATE_REMOVE_AFTER_TRANS = 'remove_after_trans'; const STATE_FORCE_ACTIVE = 'force_active'; const INIT_ZINDEX = 10; -let ctrlIds = -1; \ No newline at end of file +let ctrlIds = -1;