mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
beb3d49a1b
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51916 String literals were not sorted in React Native API Snapshot. This diff fixes the issue by retrieving the value from the string literal. Before: ```ts type A = { a: string; b: string; \"ba\": string; \"ab\": string; aFn: () => void; bFn: () => void; aMethod(): void; bMethod(): void; }; ``` After: ```ts type A = { a: string; \"ab\": string; b: string; \"ba\": string; aFn: () => void; bFn: () => void; aMethod(): void; bMethod(): void; }; ``` Changelog: [Internal] Reviewed By: robhogan Differential Revision: D76329242 fbshipit-source-id: 9645b82cbd22e2d3acef1376a9ffefa3646457d9