Skip to content

Commit 8176750

Browse files
author
Yash Ladha
committed
Refactored type
1 parent f4ce0bb commit 8176750

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

Diff for: index.d.ts

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
declare module 'browserstack-local' {
1+
declare module "browserstack-local" {
22
interface Options {
3-
key: string
4-
verbose: boolean
5-
force: boolean
6-
only: string
7-
onlyAutomate: boolean
8-
forceLocal: boolean
9-
localIdentifier: string
10-
folder: string
11-
proxyHost: string
12-
proxyPort: string
13-
proxyUser: string
14-
proxyPass: string
15-
forceProxy: boolean
16-
logFile: string
17-
parallelRuns: string
18-
binarypath: string
19-
[key: string]: string | boolean
3+
key: string;
4+
verbose: boolean;
5+
force: boolean;
6+
only: string;
7+
onlyAutomate: boolean;
8+
forceLocal: boolean;
9+
localIdentifier: string;
10+
folder: string;
11+
proxyHost: string;
12+
proxyPort: string;
13+
proxyUser: string;
14+
proxyPass: string;
15+
forceProxy: boolean;
16+
logFile: string;
17+
parallelRuns: string;
18+
binarypath: string;
19+
[key: string]: string | boolean;
2020
}
2121

2222
class Local {
23-
start(options: Partial<Options>, callback: (error: Error | undefined) => void): void
24-
isRunning(): boolean
25-
stop(callback: () => void): void
23+
start(options: Partial<Options>, callback: (error?: Error) => void): void;
24+
isRunning(): boolean;
25+
stop(callback: () => void): void;
2626
}
2727
}

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "browserstack-local",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"description": "Nodejs bindings for BrowserStack Local",
55
"engine": "^0.10.44",
66
"main": "index.js",

0 commit comments

Comments
 (0)