Skip to content
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

Strict mode in Flow definition #309

Merged
merged 1 commit into from Nov 30, 2018
Merged

Strict mode in Flow definition #309

merged 1 commit into from Nov 30, 2018

Conversation

yungsters
Copy link
Contributor

Converts the Flow definition for chalk to use @flow strict.

This makes it so that projects using chalk can use @flow strict (which requires all dependencies to be recursively strict).

@sindresorhus sindresorhus merged commit 70bb378 into chalk:master Nov 30, 2018
@nvie
Copy link

nvie commented Jan 3, 2019

@sindresorhus I noticed the latest release (2.4.1) to NPM was in April. Would it be possible to publish a patch-level release that includes this small patch? Having @flow strict in there would be huge for our projects.

@sindresorhus
Copy link
Member

I assume this change doesn't break Flow projects that does not use the Flow strict mode?

@nvie
Copy link

nvie commented Jan 4, 2019

Correct! It just makes a stricter guarantee for projects that want it, without breaking anything for projects that don't require strictness.

sindresorhus pushed a commit that referenced this pull request Jan 5, 2019
@sindresorhus
Copy link
Member

@nvie
Copy link

nvie commented Jan 5, 2019

🙌

@sindresorhus
Copy link
Member

FYI: d3be9c6

Would be great if either of you could submit it to https://github.com/flow-typed/flow-typed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants