diff --git a/flow/jest.js b/flow/jest.js index b149195e076..1780dfa9f28 100644 --- a/flow/jest.js +++ b/flow/jest.js @@ -953,7 +953,7 @@ declare var describe: { * @param {table} table of Test */ each( - table: Array | mixed>, + table: $ReadOnlyArray>, ): ( name: JestTestName, fn?: (...args: Array) => ?Promise, @@ -980,7 +980,7 @@ declare var it: { * @param {table} table of Test */ each( - table: Array | mixed>, + table: $ReadOnlyArray>, ): ( name: JestTestName, fn?: (...args: Array) => ?Promise, @@ -998,7 +998,7 @@ declare var it: { timeout?: number, ): { each( - table: Array | mixed>, + table: $ReadOnlyArray>, ): ( name: JestTestName, fn?: (...args: Array) => ?Promise, @@ -1034,7 +1034,7 @@ declare var it: { * @param {table} table of Test */ each( - table: Array | mixed>, + table: $ReadOnlyArray>, ): ( name: JestTestName, fn?: (...args: Array) => ?Promise, @@ -1065,9 +1065,7 @@ type JestPrettyFormatColors = { }; type JestPrettyFormatIndent = string => string; -type JestPrettyFormatRefs = Array; type JestPrettyFormatPrint = any => string; -type JestPrettyFormatStringOrNull = string | null; type JestPrettyFormatOptions = {| callToJSON: boolean,