mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:55:55 +00:00
Update Flow to 0.273 (#34274)
This version introduces "Natural Inference" which requires a couple more type annotations to make Flow pass.
This commit is contained in:
@@ -103,7 +103,7 @@ export function loadHookNames(
|
||||
|
||||
let timeoutID: $FlowFixMe | null;
|
||||
let didTimeout = false;
|
||||
let status = 'unknown';
|
||||
let status: 'success' | 'error' | 'timeout' | 'unknown' = 'unknown';
|
||||
let resolvedHookNames: HookNames | null = null;
|
||||
|
||||
const wake = () => {
|
||||
|
||||
Reference in New Issue
Block a user