Files
react-native/scripts
Rubén Norte fc331f3883 Strip computed properties in build-types transform (#56450)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56450

Changelog: [internal]

Update the `stripPrivateProperties` Flow transform to also remove
computed properties and methods from type definitions. These are
implementation details that should not be part of the public API.

Previously only underscore-prefixed identifiers were stripped. Now
`PropertyDefinition` and `MethodDefinition` nodes with
`node.computed === true` are also removed.

Reviewed By: huntie

Differential Revision: D100969511

fbshipit-source-id: 7eb1dfde99b56e9c460d83f6b12b7c31c3b04c92
2026-04-15 04:30:40 -07:00
..