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
+2 -3
View File
@@ -268,9 +268,8 @@ export class Facebook {
*
*
* @param {Object} options An object containing an [App Link](https://developers.facebook.com/docs/applinks) URL to your app and an optional image URL.
* url: [App Link](https://developers.facebook.com/docs/applinks) to your app
* picture: image to be displayed in the App Invite dialog
*
* @param {string} options.url [App Link](https://developers.facebook.com/docs/applinks) to your app
* @param {string} [options.picture] image to be displayed in the App Invite dialog
* @returns {Promise<any>} Returns a Promise that resolves with the result data, or rejects with an error
*/
@Cordova()