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

Import types from type-definitions #533

Closed
jiqiang90 opened this issue Oct 15, 2021 · 1 comment
Closed

Import types from type-definitions #533

jiqiang90 opened this issue Oct 15, 2021 · 1 comment

Comments

@jiqiang90
Copy link
Contributor

Allow us to import types from "@xxx-network/type-definitions"

In manifest v2, assume we allow user pass the network name we could look up types from here
https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec

Also, remain the current approach, allow user to override the types

@jiqiang90
Copy link
Contributor Author

In manifest v2, we already support import type from .json, so this is alternative approach.
#495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant