Skip to content

Commit 1ee5d06

Browse files
committedJul 13, 2020
chore(flow): Fixed flow error in src/firefox/index.js due to type signatures mismatch
1 parent 34f575c commit 1ee5d06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/firefox/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ export type FirefoxRunnerParams = {|
5050
'listen': number,
5151
'binary-args'?: Array<string> | string,
5252
'env'?: {
53-
[key: string]: string
53+
// This match the flowtype signature for process.env (and prevent flow
54+
// from complaining about differences between their type signature)
55+
[key: string]: string | void
5456
},
5557
'verbose'?: boolean,
5658
|};

0 commit comments

Comments
 (0)
Please sign in to comment.