docs(): properly document optional params

This commit is contained in:
Ibby
2017-03-23 15:37:17 -04:00
parent 047c236191
commit 0750e03e04
9 changed files with 14 additions and 15 deletions
@@ -84,7 +84,7 @@ export class EmailComposer {
/**
* Verifies if sending emails is supported on the device.
*
* @param app {string?} An optional app id or uri scheme.
* @param [app] {string} App id or uri scheme.
* @returns {Promise<any>} Resolves if available, rejects if not available
*/
@CordovaCheck()
@@ -123,7 +123,7 @@ export class EmailComposer {
* Displays the email composer pre-filled with data.
*
* @param options {EmailComposerOptions} Email
* @param scope {any?} An optional scope for the promise
* @param [scope] {any} Scope for the promise
* @returns {Promise<any>} Resolves promise when the EmailComposer has been opened
*/
@Cordova({