Skip to content

[0.87] Fix TS exactOptionalPropertyTypes compatibility for generated types #1355

Description

@huntie

Target Branch

0.87

Link to commit or PR to be picked

react/react-native@0fc76bb

Description

Strict TypeScript API: Fixes a class of issue where optional members could not always receive undefined due to TS Strict differences with Flow. All translated types are now widened for maximum compatibility.

Image

Thanks @t0maboro for raising this!

Metadata

Metadata

Assignees

Labels

Type Pick RequestPick requests to include commits inside a React Native release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions