Skip to content

Commit 5fa6d1d

Browse files
committed
tslint
1 parent 5561251 commit 5fa6d1d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/plugins/background-geolocation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface Location {
1919
/**
2020
* true if location recorded as part of debug
2121
*/
22-
debug: boolean
22+
debug: boolean;
2323

2424
/**
2525
* UTC time of this fix, in milliseconds since January 1, 1970.

src/plugins/filetransfer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface FileUploadOptions {
3131
/**
3232
* A set of optional key/value pairs to pass in the HTTP request.
3333
*/
34-
params?: { [s: string]: any; }
34+
params?: { [s: string]: any; };
3535

3636
/**
3737
* Whether to upload the data in chunked streaming mode.
@@ -44,7 +44,7 @@ export interface FileUploadOptions {
4444
* than one value. On iOS, FireOS, and Android, if a header named
4545
* Content-Type is present, multipart form data will NOT be used.
4646
*/
47-
headers?: { [s: string]: any; }
47+
headers?: { [s: string]: any; };
4848
}
4949

5050
export interface FileUploadResult {
@@ -67,7 +67,7 @@ export interface FileUploadResult {
6767
/**
6868
* The HTTP response headers by the server.
6969
*/
70-
headers: { [s: string]: any; }
70+
headers: { [s: string]: any; };
7171
}
7272

7373
export interface FileTransferError {

src/plugins/globalization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class Globalization {
107107
successIndex: 1,
108108
errorIndex: 2
109109
})
110-
static stringToNumber(stringToConvert: string, options: {type: string}): Promise<{value:number|string}> {return; }
110+
static stringToNumber(stringToConvert: string, options: {type: string}): Promise<{value: number|string}> {return; }
111111

112112
/**
113113
*

src/plugins/screenshot.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export class Screenshot {
2121
(resolve, reject) => {
2222
navigator.screenshot.save(
2323
(error, result) => {
24-
if(error){
24+
if (error) {
2525
reject(error);
26-
}else{
26+
}else {
2727
resolve(result);
2828
}
2929
},
@@ -46,9 +46,9 @@ export class Screenshot {
4646
(resolve, reject) => {
4747
navigator.screenshot.URI(
4848
(error, result) => {
49-
if(error){
49+
if (error) {
5050
reject(error);
51-
}else{
51+
}else {
5252
resolve(result);
5353
}
5454
},

0 commit comments

Comments
 (0)