I'm not quire sure if there are other areas where types could benefit from generic types or if a change like this maybe is in the works already.
If you can give me a bit of input on that, then I would be happy to open PRs here, in the JS client as well as in the Vue and React clients.
Description
The current API result types return
data
asany
and therefore make it difficult to add types on the Storyblok clients that are based on this package.Suggested solution or improvement
Should be changed to:
Additional context
I'm not quire sure if there are other areas where types could benefit from generic types or if a change like this maybe is in the works already. If you can give me a bit of input on that, then I would be happy to open PRs here, in the JS client as well as in the Vue and React clients.
Validations