feathers-pinia
feathers-pinia copied to clipboard
service api types do not include feathers-pinia specific methods
When I call ex: api.service('ads')['name']
in a .ts
file, I cannot get it to recognize any types outside of the standard feathers Application type. So if I call api.service('ads').findInStore
- I get a type error that findInStore is not found on type Application<...>.
I cannot pass a generic argument to createPiniaClient
that seems to satisfy this issue. Possibly there is a simple solution to this issue, but I have exhausted reasonable efforts to solve it. Any help is appreciated.
Edit: I should add that I do have the same version of @feathersjs/**
packages installed as is in the installed feathers-pinia
package.
This issue would require a minimal reproduction to solve.