mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Sync generated Babel Flow types, yarn-deduplicate (#55233)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55233 X-link: https://github.com/facebook/metro/pull/1640 Re-sync Flow Babel types with the latest version from npm to unbreak no-lockfile CI. Metro only: Also `yarn-deduplicate` other deps Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D90986684 fbshipit-source-id: 332acd66c2ca1b3396388b383f1c940b19b899ce
This commit is contained in:
1 parent
ef10ac0c2e
commit
2d4ee26e57
3 files changed
+71
-49
No files matched your search
+2
-2
@@ -75,9 +75,9 @@ export function resolveTypeOperator(
|
||||
state: BaseVisitorState,
|
||||
): void {
|
||||
const name = path.node.operator;
|
||||
if (canResolveTypeOperator(name)) {
|
||||
if (name != null && canResolveTypeOperator(name)) {
|
||||
typeOperatorResolvers[name](path, state);
|
||||
} else {
|
||||
debug(`Unsupported type operator: ${name}`);
|
||||
debug(`Unsupported type operator: ${name ?? '(null)'}`);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user