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
@@ -18,7 +18,7 @@ import {FlatList, RootTagContext, TouchableOpacity, View} from 'react-native';
import NativeSampleTurboModule from 'react-native/Libraries/TurboModule/samples/NativeSampleTurboModule';
import {EnumInt} from 'react-native/Libraries/TurboModule/samples/NativeSampleTurboModule';
type State = {|
type State = {
testResults: {
[string]: {
type: string,
@@ -27,7 +27,7 @@ type State = {|
},
...
},
|};
};
type Examples =
| 'callback'
@@ -62,7 +62,7 @@ type ErrorExamples =
| 'getObjectAssert'
| 'promiseAssert';
class SampleTurboModuleExample extends React.Component<{||}, State> {
class SampleTurboModuleExample extends React.Component<{}, State> {
static contextType: React$Context<RootTag> = RootTagContext;
eventSubscriptions: EventSubscription[] = [];