This repository has been archived by the owner on Aug 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since we don't publish this as a package, we don't ship the dist folder, so our consumer needs to build it on install
This also adds suppressions to the express definition file because it uses Subtype
jeresig
approved these changes
Sep 24, 2019
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.
Nice! This seems like a great start! A couple questions inline, but nothing blocking.
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.
This is awesome. It's great to see Flow being used in more of our projects.
Also added eslint-plugin-disable to disable react plugin, and added a react plugin version setting so that it stops complaining about react in the output
Thanks for the feedback, folks. I've addressed all the comments, I believe. I'm going to merge this in and continue with the rest of the changes. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the first part of adding flow typing to react-render-server.
I decided to submit this PR now as it was getting pretty darn big. In this PR we:
@flow
or@noflow
During this work, I've noticed that flow typing of Winston stuff seems pretty weak. There are also no flow-typed files for some of our other dependencies, including google cloud things. I have filled in some typing gaps for chai-as-promised and winston, but nothing serious; just copy/paste/edit from the typescript files. Another reason for getting this out now is so that subsequent typing edits, which may be more substantial, are clear and easy to review.