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
@@ -26,7 +26,7 @@ import {
View,
} from 'react-native';
type State = {|
type State = {
testResults: {
[string]: {
type: string,
@@ -35,7 +35,7 @@ type State = {|
},
...
},
|};
};
type Examples =
| 'callback'
@@ -71,7 +71,7 @@ type ErrorExamples =
| 'getObjectAssert'
| 'promiseAssert';
class NativeCxxModuleExampleExample extends React.Component<{||}, State> {
class NativeCxxModuleExampleExample extends React.Component<{}, State> {
static contextType: React$Context<RootTag> = RootTagContext;
eventSubscriptions: EventSubscription[] = [];