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 Type definitions #668

Open
TrevorJTClarke opened this issue Aug 29, 2022 · 0 comments
Open

Typescript Type definitions #668

TrevorJTClarke opened this issue Aug 29, 2022 · 0 comments

Comments

@TrevorJTClarke
Copy link
Contributor

TrevorJTClarke commented Aug 29, 2022

Would be great for those using typescript to be able to import type definitions, alongside the repo for chain definitions/jsons.

Issue:

Requirements:

  • Create type definitions for the full scope of the most complete JSON file
  • Create new types that are unsupported currently, to support Keplr missing fields (this will help cosmodal usage & other boilerplate apps that exist)
  • Document how to import/use types

See: https://github.com/cosmology-tech/chain-registry

  • Why is this not part of the repo?

Bonus points:

  • Use the types & a small script to check all PRs against types for required fields & field validations
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