Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit a4389fc

Browse files
committed
feat(flow-bin): update bundled flow to v0.106.x
1 parent 81f43ac commit a4389fc

4 files changed

Lines changed: 26 additions & 22 deletions

File tree

.flowconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine
1919

2020
suppress_type=$FixMe
2121

22+
experimental.lsp.code_actions=true
23+
2224
[version]
23-
^0.104.0
25+
^0.106.3

flow-typed/npm/jest_v24.x.x.js

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 58d9d3a06aaf967201e2294040c7eab3
2-
// flow-typed version: c6154227d1/jest_v24.x.x/flow_>=v0.104.x
1+
// flow-typed signature: 27f8467378a99b6130bd20f54f31a644
2+
// flow-typed version: 6cb9e99836/jest_v24.x.x/flow_>=v0.104.x
33

44
type JestMockFn<TArguments: $ReadOnlyArray<*>, TReturn> = {
55
(...args: TArguments): TReturn,
@@ -900,11 +900,10 @@ type JestObjectType = {
900900

901901
type JestSpyType = { calls: JestCallsType, ... };
902902

903-
type JestDoneFn = {
903+
type JestDoneFn = {|
904904
(): void,
905905
fail: (error: Error) => void,
906-
...
907-
};
906+
|};
908907

909908
/** Runs this function after every test inside this context */
910909
declare function afterEach(
@@ -977,17 +976,20 @@ declare var it: {
977976
* @param {Function} Test
978977
* @param {number} Timeout for the test, in milliseconds.
979978
*/
980-
only(
981-
name: JestTestName,
982-
fn?: (done: JestDoneFn) => ?Promise<mixed>,
983-
timeout?: number
984-
): { each(
985-
...table: Array<Array<mixed> | mixed> | [Array<string>, string]
986-
): (
987-
name: JestTestName,
988-
fn?: (...args: Array<any>) => ?Promise<mixed>,
989-
timeout?: number
990-
) => void, ... },
979+
only: {|
980+
(
981+
name: JestTestName,
982+
fn?: (done: JestDoneFn) => ?Promise<mixed>,
983+
timeout?: number
984+
): void,
985+
each(
986+
...table: Array<Array<mixed> | mixed> | [Array<string>, string]
987+
): (
988+
name: JestTestName,
989+
fn?: (...args: Array<any>) => ?Promise<mixed>,
990+
timeout?: number
991+
) => void
992+
|},
991993
/**
992994
* Skip running this test
993995
*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
"dequeue": "^1.0.5",
215215
"elegant-spinner": "^1.0.1",
216216
"event-kit": "^2.5.3",
217-
"flow-bin": "^0.104.0",
217+
"flow-bin": "^0.106.3",
218218
"fs-plus": "^3.1.1",
219219
"fuzzaldrin": "^2.1.0",
220220
"lodash.debounce": "^4.0.8",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,10 +2015,10 @@ flatted@^2.0.0:
20152015
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
20162016
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
20172017

2018-
flow-bin@^0.104.0:
2019-
version "0.104.0"
2020-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.104.0.tgz#ef5b3600dfd36abe191a87d19f66e481bad2e235"
2021-
integrity sha512-EZXRRmf7m7ET5Lcnwm/I/T8G3d427Bq34vmO3qIlRcPIYloGuVoqRCwjaeezLRDntHkdciagAKbhJ+NTbDjnkw==
2018+
flow-bin@^0.106.3:
2019+
version "0.106.3"
2020+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.106.3.tgz#87b5647bc23ae0efceabb6c50490c02a8478960c"
2021+
integrity sha512-QDwmhsMmiASmwgr6r2WTz9RPsN0pb84PY0whz0JqFaBX7/Fx2wj2MOtjbR2yv+qWZnozP9U40Jd9LLt8rC3WSQ==
20222022

20232023
for-in@^1.0.2:
20242024
version "1.0.2"

0 commit comments

Comments
 (0)