diff --git a/src/navigation/nav-controller.ts b/src/navigation/nav-controller.ts index c58be06546..898f837dbb 100644 --- a/src/navigation/nav-controller.ts +++ b/src/navigation/nav-controller.ts @@ -514,11 +514,11 @@ export abstract class NavController { * by passing options to the navigation controller.You can also pass any * navigation params to the individual pages in the array. * - * @param {array} pages An array of objects, each with a `page` and optionally `params` property to load in the stack. - * @param {object} [opts={}] Nav options to go with this transition. + * @param {Array<{page:any, params: any}>} pages An array of objects, each with a `page` and optionally `params` property to load in the stack. + * @param {Object} [opts={}] Nav options to go with this transition. * @returns {Promise} Returns a promise which is resolved when the transition has completed. */ - abstract setPages(pages: any[], opts?: NavOptions, done?: Function): Promise; + abstract setPages(pages: {page: any, params: any}[], opts?: NavOptions, done?: Function): Promise; /** * @param {number} index The index of the page to get.