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

Inconsistent generic type camel/pascal case #399

Closed
steida opened this issue Dec 17, 2019 · 0 comments
Closed

Inconsistent generic type camel/pascal case #399

steida opened this issue Dec 17, 2019 · 0 comments

Comments

@steida
Copy link

steida commented Dec 17, 2019

I am not sure why the generic type is written in pascal case in readme, but as camel case (either) in io-ts-types.

Isn't responseBody returning ResponseBody?

const ResponseBody = <C extends t.Mixed>(codec: C) =>
  t.interface({
    result: codec,
    _links: Links
  })
gcanti added a commit that referenced this issue Dec 18, 2019
@gcanti gcanti closed this as completed in b967a5e Dec 18, 2019
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

No branches or pull requests

1 participant