mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
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