Skip to content

Commit

Permalink
Merge pull request #94 from yashLadha/chore/type-fixes
Browse files Browse the repository at this point in the history
Type fixes for the callback function
  • Loading branch information
francisf authored Jan 24, 2020
2 parents 4d1315c + 8176750 commit d238484
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
declare module 'browserstack-local' {
declare module "browserstack-local" {
interface Options {
key: string
verbose: boolean
force: boolean
only: string
onlyAutomate: boolean
forceLocal: boolean
localIdentifier: string
folder: string
proxyHost: string
proxyPort: string
proxyUser: string
proxyPass: string
forceProxy: boolean
logFile: string
parallelRuns: string
binarypath: string
[key: string]: string | boolean
key: string;
verbose: boolean;
force: boolean;
only: string;
onlyAutomate: boolean;
forceLocal: boolean;
localIdentifier: string;
folder: string;
proxyHost: string;
proxyPort: string;
proxyUser: string;
proxyPass: string;
forceProxy: boolean;
logFile: string;
parallelRuns: string;
binarypath: string;
[key: string]: string | boolean;
}

class Local {
start(options: Partial<Options>, callback: () => void): void
isRunning(): boolean
stop(callback: () => void): void
start(options: Partial<Options>, callback: (error?: Error) => void): void;
isRunning(): boolean;
stop(callback: () => void): void;
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browserstack-local",
"version": "1.4.4",
"version": "1.4.5",
"description": "Nodejs bindings for BrowserStack Local",
"engine": "^0.10.44",
"main": "index.js",
Expand Down

0 comments on commit d238484

Please sign in to comment.