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

RFC: Add advanced typing to your hal json vuex #293

Open
wants to merge 3 commits into
base: v3
Choose a base branch
from

Conversation

manuelmeister
Copy link
Member

I tried to create a generic typing system that allows one to define the types to be used further.

In tests/testtypes.ts you can see the definition of the whole endpoint and below it's usage and type autocompletion/errors.

What do you think about the ability to further type methods of hal-json-vuex.

(Currently the _storeData is not exactly perfectly typed. But usually you don't use these as a library consumer)

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.

None yet

1 participant