We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 638d66b + 8e5d1c5 commit fd0f14eCopy full SHA for fd0f14e
src/create-pinia-service.ts
@@ -155,7 +155,7 @@ export class PiniaService<Svc extends FeathersService> {
155
/**
156
* find a single record in the local store by query.
157
*/
158
- findOneInStore(params?: MaybeRef<SvcParams<Svc>>): SvcModel<Svc>
+ findOneInStore(params?: MaybeRef<SvcParams<Svc>>): ComputedRef<SvcModel<Svc>>
159
findOneInStore(params?: MaybeRef<Params<Query>>) {
160
const result = this.store.findOneInStore(params)
161
return result
0 commit comments