docs(navController): argument is not optional

This commit is contained in:
mhartington
2017-02-17 11:27:40 -05:00
parent 52a6d41c86
commit fae38f910c

View File

@ -483,7 +483,7 @@ export abstract class NavController {
/** /**
* Removes a page from the nav stack at the specified index. * Removes a page from the nav stack at the specified index.
* *
* @param {number} [startIndex] The starting index to remove pages from the stack. Default is the index of the last page. * @param {number} startIndex The starting index to remove pages from the stack. Default is the index of the last page.
* @param {number} [removeCount] The number of pages to remove, defaults to remove `1`. * @param {number} [removeCount] The number of pages to remove, defaults to remove `1`.
* @param {object} [opts={}] Any options you want to use pass to transtion. * @param {object} [opts={}] Any options you want to use pass to transtion.
* @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.