Skip to content

Commit 54b2b19

Browse files
authored
fix(testWithSpectron): options type should be Partial<> (#1272)
1 parent 148513a commit 54b2b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface Server {
3434
Run electron:serve, but instead of launching Electron it returns a Spectron Application instance.
3535
Used for e2e testing with Spectron.
3636
*/
37-
export function testWithSpectron(spectron: any, options?: Options): Promise<Server>
37+
export function testWithSpectron(spectron: any, options?: Partial<Options>): Promise<Server>
3838

3939

4040
export type PluginOptions = {

0 commit comments

Comments
 (0)