-
Notifications
You must be signed in to change notification settings - Fork 47k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix function type for flow #25965
fix function type for flow #25965
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
CI breakage seems to be unrelated. |
These files fail CI `yarn_flow`. DiffTrain build for [2619886](2619886) [View git log for this commit](https://github.com/facebook/react/commits/2619886ac0f1d41c9b361d82f069f9ed682321ff)
@@ -15,7 +15,7 @@ function generateArray(size) { | |||
|
|||
const arr = generateArray(50000); | |||
|
|||
export default function LargeSubtree() { | |||
export default function LargeSubtree(): React.Node { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
React.Node or React.ReactNode ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok please don't send me any more emails
afc163 ***@***.***>于令和5年1月6日周五下午4:46写道:
***@***.**** commented on this pull request.
------------------------------
In packages/react-devtools-shell/src/perf-regression/apps/LargeSubtree.js
<#25965 (comment)>:
> @@ -15,7 +15,7 @@ function generateArray(size) {
const arr = generateArray(50000);
-export default function LargeSubtree() {
+export default function LargeSubtree(): React.Node {
React.Node or React.ReactNode ?
—
Reply to this email directly, view it on GitHub
<#25965 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEU5MP3LEBQ6TSUXJZOBFDWQ6WUVANCNFSM6AAAAAATSKGGPE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Ngat hock Tang
|
These files fail CI
yarn_flow
.