mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
docs(navController): fix setPages signature
This commit is contained in:
@ -518,7 +518,7 @@ export abstract class NavController {
|
||||
* @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: {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.
|
||||
|
Reference in New Issue
Block a user