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

Publish flow types #7079

Merged
merged 1 commit into from
Aug 3, 2018
Merged

Publish flow types #7079

merged 1 commit into from
Aug 3, 2018

Conversation

anandthakker
Copy link
Contributor

Closes #6963

Downstream projects using Flow should now get typing for gl-js. However,
you'll need to include libdefs for some of our dependencies. Our libdefs are
included with the mapbox-gl NPM package, so you can get them by adding:

[libs]
node_modules/mapbox-gl/flow-typed

You'll also need to add an ignore for one of our dependencies that causes
Flow errors:

[ignore]
.*/node_modules/@mapbox/jsonlint-lines-primitives/.*

@anandthakker
Copy link
Contributor Author

Depends on #7078

@anandthakker anandthakker merged commit 5e35d57 into master Aug 3, 2018
@anandthakker anandthakker deleted the publish-flow branch August 3, 2018 19:29
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.

2 participants