Skip to content

Commit 90025f9

Browse files
author
Yash Ladha
committed
Error type in callback
1 parent d238484 commit 90025f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ declare module "browserstack-local" {
2222
class Local {
2323
start(options: Partial<Options>, callback: (error?: Error) => void): void;
2424
isRunning(): boolean;
25-
stop(callback: () => void): void;
25+
stop(callback: (error?: Error) => void): void;
2626
}
2727
}

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.5",
3+
"version": "1.4.6",
44
"description": "Nodejs bindings for BrowserStack Local",
55
"engine": "^0.10.44",
66
"main": "index.js",

0 commit comments

Comments
 (0)