docs(navController): fix setPages signature

This commit is contained in:
mhartington
2017-02-21 17:05:13 -05:00
parent 38717155a8
commit 43b90973ef

View File

@ -518,7 +518,7 @@ export abstract class NavController {
* @param {Object} [opts={}] Nav options to go with this transition. * @param {Object} [opts={}] Nav options to go with this transition.
* @returns {Promise} Returns a promise which is resolved when the transition has completed. * @returns {Promise} Returns a promise which is resolved when the transition has completed.
*/ */
abstract setPages(pages: {page: any, params: any}[], opts?: NavOptions, done?: Function): Promise<any>; abstract setPages(pages: {page: any, params?: any}[], opts?: NavOptions, done?: Function): Promise<any>;
/** /**
* @param {number} index The index of the page to get. * @param {number} index The index of the page to get.