docs(all): standardizes and adds return types, also some param fixes

This commit is contained in:
Alex Muramoto
2016-11-29 16:40:50 -06:00
parent b7a562053a
commit 3da2831779
88 changed files with 635 additions and 347 deletions
+2
View File
@@ -32,6 +32,7 @@ export class Screenshot {
* @param {number} quality. Determines the quality of the screenshot.
* Default quality is set to 100.
* @param {string} filename. Name of the file as stored on the storage
* @returns {Promise<any>}
*/
static save(format?: string, quality?: number, filename?: string): Promise<any> {
return new Promise<any>(
@@ -57,6 +58,7 @@ export class Screenshot {
*
* @param {number} quality. Determines the quality of the screenshot.
* Default quality is set to 100.
* @returns {Promise<any>}
*/
static URI(quality?: number): Promise<any> {
return new Promise<any>(