Skip to content

Commit

Permalink
Update flow typing for {only,it,describe,it.only}.each function arg…
Browse files Browse the repository at this point in the history
…uments to accept either mixed or Array<mixed>.
  • Loading branch information
Alcedo Nathaniel De Guzman Jr committed Sep 2, 2018
1 parent 2182a3b commit f221719
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flow-typed/npm/jest_v23.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ declare var describe: {
* @param {table} table of Test
*/
each(
table: Array<Array<mixed>>
table: Array<Array<mixed> | mixed>
): (
name: JestTestName,
fn?: (...args: Array<any>) => ?Promise<mixed>
Expand All @@ -949,7 +949,7 @@ declare var it: {
* @param {table} table of Test
*/
each(
table: Array<Array<mixed>>
table: Array<Array<mixed> | mixed>
): (
name: JestTestName,
fn?: (...args: Array<any>) => ?Promise<mixed>
Expand All @@ -967,7 +967,7 @@ declare var it: {
timeout?: number
): {
each(
table: Array<Array<mixed>>
table: Array<Array<mixed> | mixed>
): (
name: JestTestName,
fn?: (...args: Array<any>) => ?Promise<mixed>
Expand Down Expand Up @@ -1003,7 +1003,7 @@ declare var it: {
* @param {table} table of Test
*/
each(
table: Array<Array<mixed>>
table: Array<Array<mixed> | mixed>
): (
name: JestTestName,
fn?: (...args: Array<any>) => ?Promise<mixed>
Expand Down

0 comments on commit f221719

Please sign in to comment.