Skip to content

Commit 9e972a1

Browse files
jaredmcateernklayman
authored andcommitted
fix(typings): stopServe returns spectron Application
1 parent f1f1088 commit 9e972a1

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
@@ -22,7 +22,7 @@ interface Server {
2222
/** URL of dev server. */
2323
url: string
2424
/** Close spectron and stop dev server (must be called to prevent continued async operations). */
25-
stopServe: function(): Promise
25+
stopServe: () => Promise<Application>
2626
/** Log of dev server. */
2727
stdout: string
2828
}

0 commit comments

Comments
 (0)