Remove redundant {||} syntax (#48686)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/48686

Changelog:
[Internal] - Removed redundant `{||}` syntax

Reviewed By: javache

Differential Revision: D68205038

fbshipit-source-id: f7d3271142b6443a5859c3b668b7aebd3ce3ef3f
This commit is contained in:
Dawid Małecki
2025-01-15 07:07:01 -08:00
committed by Facebook GitHub Bot
parent e8a64fd638
commit f36bfe5dfa
215 changed files with 1430 additions and 1435 deletions
@@ -22,7 +22,7 @@ import {
View,
} from 'react-native';
type State = {|
type State = {
testResults: {
[string]: {
type: string,
@@ -31,7 +31,7 @@ type State = {|
},
...
},
|};
};
let triedLoadingModuleOnce = false;
let module = null;
@@ -67,7 +67,7 @@ function stringify(obj: mixed): string {
return (JSON.stringify(obj, replacer) || '').replace(/"/g, "'");
}
class SampleLegacyModuleExample extends React.Component<{||}, State> {
class SampleLegacyModuleExample extends React.Component<{}, State> {
static contextType: React$Context<RootTag> = RootTagContext;
state: State = {