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

typings: initialBBox set to optional to match docs #198

Merged
merged 2 commits into from
Feb 9, 2020
Merged

typings: initialBBox set to optional to match docs #198

merged 2 commits into from
Feb 9, 2020

Conversation

Vampiro
Copy link
Contributor

@Vampiro Vampiro commented Feb 7, 2020

Using this project with Typescript and not sending in initialBBox as a prop to GraphView gives me a warning about it being required, but the README say it's not required and the code does a check before using it so I think it's safe to mark this as optional in the typings file.

@claassistantio
Copy link

claassistantio commented Feb 7, 2020

CLA assistant check
All committers have signed the CLA.

@Vampiro Vampiro requested a review from ajbogh February 7, 2020 22:51
@ajbogh
Copy link
Contributor

ajbogh commented Feb 9, 2020

Thanks @Vampiro. Can you please also change the graph-view-props.js file? This manages the Flowtypes which is what the typescript changes are based on.

@ajbogh ajbogh merged commit f14ae70 into uber:master Feb 9, 2020
@Vampiro
Copy link
Contributor Author

Vampiro commented Feb 9, 2020

@ajbogh Done! Makes sense.

@ajbogh
Copy link
Contributor

ajbogh commented Feb 9, 2020

Thanks again @Vampiro! I've merged the commit and will create a patch release on Monday. If you need it sooner, please let me know and I can get it ready.

@Vampiro
Copy link
Contributor Author

Vampiro commented Feb 9, 2020

@ajbogh Monday will be just fine. Thank you much :-)

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.

3 participants