This commit is contained in:
Ibrahim Hadeed 2016-06-01 06:56:04 -04:00
parent 556125145d
commit 5fa6d1d022
4 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ export interface Location {
/** /**
* true if location recorded as part of debug * true if location recorded as part of debug
*/ */
debug: boolean debug: boolean;
/** /**
* UTC time of this fix, in milliseconds since January 1, 1970. * UTC time of this fix, in milliseconds since January 1, 1970.

View File

@ -31,7 +31,7 @@ export interface FileUploadOptions {
/** /**
* A set of optional key/value pairs to pass in the HTTP request. * A set of optional key/value pairs to pass in the HTTP request.
*/ */
params?: { [s: string]: any; } params?: { [s: string]: any; };
/** /**
* Whether to upload the data in chunked streaming mode. * Whether to upload the data in chunked streaming mode.
@ -44,7 +44,7 @@ export interface FileUploadOptions {
* than one value. On iOS, FireOS, and Android, if a header named * than one value. On iOS, FireOS, and Android, if a header named
* Content-Type is present, multipart form data will NOT be used. * Content-Type is present, multipart form data will NOT be used.
*/ */
headers?: { [s: string]: any; } headers?: { [s: string]: any; };
} }
export interface FileUploadResult { export interface FileUploadResult {
@ -67,7 +67,7 @@ export interface FileUploadResult {
/** /**
* The HTTP response headers by the server. * The HTTP response headers by the server.
*/ */
headers: { [s: string]: any; } headers: { [s: string]: any; };
} }
export interface FileTransferError { export interface FileTransferError {

View File

@ -107,7 +107,7 @@ export class Globalization {
successIndex: 1, successIndex: 1,
errorIndex: 2 errorIndex: 2
}) })
static stringToNumber(stringToConvert: string, options: {type: string}): Promise<{value:number|string}> {return; } static stringToNumber(stringToConvert: string, options: {type: string}): Promise<{value: number|string}> {return; }
/** /**
* *

View File

@ -21,9 +21,9 @@ export class Screenshot {
(resolve, reject) => { (resolve, reject) => {
navigator.screenshot.save( navigator.screenshot.save(
(error, result) => { (error, result) => {
if(error){ if (error) {
reject(error); reject(error);
}else{ }else {
resolve(result); resolve(result);
} }
}, },
@ -46,9 +46,9 @@ export class Screenshot {
(resolve, reject) => { (resolve, reject) => {
navigator.screenshot.URI( navigator.screenshot.URI(
(error, result) => { (error, result) => {
if(error){ if (error) {
reject(error); reject(error);
}else{ }else {
resolve(result); resolve(result);
} }
}, },