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-mock-data): re-write packge in TypeScript #549

Merged
merged 2 commits into from Oct 29, 2019

Conversation

hshoff
Copy link
Member

@hshoff hshoff commented Oct 26, 2019

🚀 Enhancements

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

Closes #548

Tests

  • CI
  • generates .d.ts files

@williaster @kristw

@hshoff hshoff added this to the v0.0.193 milestone Oct 26, 2019
@hshoff hshoff added this to In progress in TypeScript via automation Oct 26, 2019
@hshoff hshoff removed this from In progress in TypeScript Oct 26, 2019
Copy link
Collaborator

@williaster williaster left a comment

Choose a reason for hiding this comment

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

Nice 👌 this will be really helpful for this package, I always forget the formats.

width,
height,
}: GenPhyllotaxis): GenPhyllotaxisFunction {
const theta = Math.PI * (3 - Math.sqrt(5));
Copy link
Collaborator

Choose a reason for hiding this comment

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

could pull this out of genPhyllotaxis

@@ -1,4 +1,10 @@
export default [
export interface Exoplanets {
Copy link
Collaborator

Choose a reason for hiding this comment

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

whoa missed that we had this one 👨‍🚀

@hshoff hshoff merged commit 19ecae1 into master Oct 29, 2019
@hshoff hshoff deleted the harry-ts-mock-data branch October 29, 2019 14:04
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/mock-data in TypeScript
2 participants