react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Transform all Flow legacy utility types (`$Keys`) to TypeScript-style types in xplat/js

Open marcoww6 opened this issue 4 weeks ago • 1 comments

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 avatar Dec 18 '25 19:12 marcoww6

@marcoww6 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89486050.

meta-codesync[bot] avatar Dec 18 '25 19:12 meta-codesync[bot]