Skip to content

Commit e794e73

Browse files
Andrew Torresnovemberborn
authored andcommitted
Resolve strict checking of function call arity (#1441)
1 parent 1cbcb06 commit e794e73

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

index.js.flow

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ type ContextualCallbackTestMethod = {
147147
*/
148148

149149
declare module.exports: {
150-
( run: ContextualTest): void;
151-
(name: string, run: ContextualTest): void;
150+
( run: ContextualTest, ...args: any): void;
151+
(name: string, run: ContextualTest, ...args: any): void;
152152

153153
beforeEach : ContextualTestMethod;
154154
afterEach : ContextualTestMethod;

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
"del": "^3.0.0",
180180
"delay": "^2.0.0",
181181
"execa": "^0.7.0",
182-
"flow-bin": "^0.45.0",
182+
"flow-bin": "^0.49.1",
183183
"get-stream": "^3.0.0",
184184
"git-branch": "^1.0.0",
185185
"has-ansi": "^3.0.0",

0 commit comments

Comments
 (0)