Skip to content

Commit f4ce0bb

Browse files
author
Yash Ladha
committed
Type fixes for the callback function
1 parent 4d1315c commit f4ce0bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ declare module 'browserstack-local' {
2020
}
2121

2222
class Local {
23-
start(options: Partial<Options>, callback: () => void): void
23+
start(options: Partial<Options>, callback: (error: Error | undefined) => void): void
2424
isRunning(): boolean
2525
stop(callback: () => void): void
2626
}
27-
}
27+
}

0 commit comments

Comments
 (0)