Skip to content

Commit 47d7765

Browse files
author
Jamie Wong
committed
Add TypeScript definition file
1 parent 05ae30c commit 47d7765

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

index.d.ts

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
declare module 'browserstack-local' {
2+
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
20+
}
21+
22+
class Local {
23+
start(options: Partial<Options>, callback: () => void): void
24+
isRunning(): boolean
25+
stop(callback: () => void): void
26+
}
27+
}

0 commit comments

Comments
 (0)