Skip to content

Commit

Permalink
Autofix ESLint Rule fb-www/react-readonly-props:
Browse files Browse the repository at this point in the history
Reviewed By: mariusschulz

Differential Revision: D56748632

fbshipit-source-id: 017c085fe51077fc4992fd08c33c6255bbe060fb
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed May 1, 2024
1 parent 7c28323 commit 0a03835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/shared/__tests__/fbt-test.js
Expand Up @@ -123,12 +123,12 @@ describe('fbt', () => {
});

// React/fbt integration tests
type Props = {
type Props = $ReadOnly<{
value: string,
childA: mixed,
childB: mixed,
...
};
}>;

function _render(value: string, childA: mixed, childB: mixed) {
// In theory, different enum values can result in different sentence
Expand Down

0 comments on commit 0a03835

Please sign in to comment.