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

service api types do not include feathers-pinia specific methods #137

Open
ha6755ad opened this issue Jun 27, 2023 · 1 comment
Open

service api types do not include feathers-pinia specific methods #137

ha6755ad opened this issue Jun 27, 2023 · 1 comment

Comments

@ha6755ad
Copy link

ha6755ad commented Jun 27, 2023

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.

@marshallswain
Copy link
Owner

This issue would require a minimal reproduction to solve.

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

2 participants