-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Cover Grid component with types #743
Conversation
Yeah, |
But please don't merge anything before. I'm afraid to rebase this :) |
Absolutely. |
How is it going? |
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.
I gave this a really fast glance through and it seems reasonable. I trust you on this one since you seem on top of the Flow changes. 😄 Feel free to move ahead. You now have commit access.
Note there are a few open PRs. You definitely have no responsibility to review or the merge them. (Although please feel free.) I would only ask that you hold off on making Flow changes that would cause conflicts with existing PRs until I've had a chance to review and merge them. (Or you can!)
By the way @TrySound , I'm unable to run the dev server locally after pulling down master: Does the local dev server work for you? Any chance you forgot to commit a plugin/config change? |
Looks like CI has started failing again since this PR was merged also (eg 1522). After doing a clean yarn install ( |
Branch worked fine. |
Looks like babel fails with weird error. Trying to update deps. |
Hm. So you actually ran 'yarn build' in the branch, successfully? That's weird. |
Yep. In master I got weird |
Hm. This error first cropped up in CI in ec0bd80 (when this branch merged to master) |
Looks like a bug with flow react prop types. It didn't convert string keys in type Props = {
"read-only": string
}; It's strange. Didn't catch this error before. |
Interesting. |
Nice! 👍 |
By the way, the |
Tried to figure out not successful. Error message suggests to find message in node_module. I found it in ajv regenerator. Nothing changed with |
It was babel-traverse. Recommendation with trace shows only traverse call stack. Nothing is changed about a year. I don't have an idea how to fix it. But it's just a warning, not an error. |
Seems like watch mode hides errors and dashboard shows them crossing old log. I found the problem in typecheck plugin which is run with types ast before they are removed. Plugins are run before presets.( |
Thanks for tracking it down. ❤️ |
Wooh. It's heavy. I splitted a few types in Grid. Maybe then it will be lifted for all components. I found a lot effects with comparing
undefined
andnumber
and tried to get rid in favour of-1
. Will try to consolidate further.