style(viewcontroller): some TS types and minor changes

This commit is contained in:
Manu Mtz.-Almeida
2016-12-06 01:45:37 +01:00
parent cb65f79cbb
commit f599758db4
2 changed files with 26 additions and 56 deletions

View File

@ -472,6 +472,14 @@ export abstract class NavController {
*/
abstract popTo(page: any, params?: any, opts?: NavOptions, done?: Function): Promise<any>;
/**
* @private
* Pop sequently all the pages in the stack.
*
* @returns {Promise} Returns a promise which is resolved when the transition has completed.
*/
abstract popAll(): Promise<any[]>;
/**
* Removes a page from the nav stack at the specified index.
*