react-native
react-native copied to clipboard
Transform all Flow legacy utility types (`$Keys`) to TypeScript-style types in xplat/js
Summary: We are transforming the following utility types to be more consistent with typescript and better AI integration:
-
$NonMaybeType->NonNullable -
$ReadOnly->Readonly -
$ReadOnlyArray->ReadonlyArray -
$ReadOnlyMap->ReadonlyMap -
$ReadOnlySet->ReadonlySet -
$Keys->keyof -
$Values->Values -
mixed->unknown
See details in https://fb.workplace.com/groups/flowlang/permalink/1837907750148213/. drop-conflicts
Reviewed By: SamChou19815
Differential Revision: D89486050
@marcoww6 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89486050.