Skip to content

Commit

Permalink
Resolve strict checking of function call arity (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Torres authored and novemberborn committed Jul 13, 2017
1 parent 1cbcb06 commit e794e73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions index.js.flow
Expand Up @@ -147,8 +147,8 @@ type ContextualCallbackTestMethod = {
*/

declare module.exports: {
( run: ContextualTest): void;
(name: string, run: ContextualTest): void;
( run: ContextualTest, ...args: any): void;
(name: string, run: ContextualTest, ...args: any): void;

beforeEach : ContextualTestMethod;
afterEach : ContextualTestMethod;
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -179,7 +179,7 @@
"del": "^3.0.0",
"delay": "^2.0.0",
"execa": "^0.7.0",
"flow-bin": "^0.45.0",
"flow-bin": "^0.49.1",
"get-stream": "^3.0.0",
"git-branch": "^1.0.0",
"has-ansi": "^3.0.0",
Expand Down

0 comments on commit e794e73

Please sign in to comment.