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

typescript(vx-heatmap): re-write package in TypeScript #520

Merged
merged 11 commits into from
Oct 9, 2019

Conversation

williaster
Copy link
Collaborator

@williaster williaster commented Sep 25, 2019

🚀 Enhancements

This PR builds off #488 which introduces Typescript build config, and re-writes the @vx/heatmap package in TypeScript.

Closes #519.

💥 Breaking Changes

  • This PR introduces React.Fragments, which requires bumping the peerDep for react to ^16.3.0-0

Tests

  • CI
  • functional /heatmaps demo
  • generates .d.ts files

@hshoff @schillerk @milesj @kristw @Rudeg

| 'y'
| 'fill'
| 'fillOpacity'
>) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: might be good to move component props type to the separate variable, something like ComponentProps or OwnProps for the better readability

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, done

Copy link

@Rudeg Rudeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good 👌

@williaster williaster changed the base branch from chris--typescript to master October 4, 2019 20:52
@hshoff hshoff merged commit e353f01 into master Oct 9, 2019
@hshoff hshoff deleted the chris--typescript-vx-heatmap branch October 9, 2019 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-write @vx/heatmap in TypeScript
3 participants