Skip to content

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

Open
manuelmeister wants to merge 3 commits intov3from
feature/type-interference
Open

RFC: Add advanced typing to your hal json vuex#293
manuelmeister wants to merge 3 commits intov3from
feature/type-interference

Conversation

@manuelmeister
Copy link
Copy Markdown
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.

1 participant