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

fix(commmon): CHP-6487 remove explicit unknown generic types #24

Merged
merged 1 commit into from
May 7, 2020
Merged

fix(commmon): CHP-6487 remove explicit unknown generic types #24

merged 1 commit into from
May 7, 2020

Conversation

chanceaclark
Copy link
Contributor

What?

Remove the explicit declarations to force users to type their requests. The unknown type will be implied by the typescript version.

Why?

It's better to force the user to declare their types rather than let if default to unknown. Code generated by the user will be less error prone.

@chanceaclark chanceaclark requested a review from davidchin May 6, 2020 22:11
Copy link
Contributor

@davidchin davidchin left a comment

Choose a reason for hiding this comment

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

Thank you! 👍

@chanceaclark chanceaclark merged commit c763526 into bigcommerce:master May 7, 2020
@chanceaclark chanceaclark deleted the fix/unknown branch May 7, 2020 00:36
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