mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Flow: add simple explicit export types to Devtools (#25251)
This commit is contained in:
@@ -36,7 +36,7 @@ function Nested() {
|
||||
|
||||
const DeeplyNested = wrapWithNested(Nested, 100);
|
||||
|
||||
export default function DeeplyNestedComponents() {
|
||||
export default function DeeplyNestedComponents(): React.Node {
|
||||
return (
|
||||
<Fragment>
|
||||
<h1>Deeply nested component</h1>
|
||||
|
||||
Reference in New Issue
Block a user