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.
1 parent 154b718 commit dcc1476Copy full SHA for dcc1476
src/service-module/types.ts
@@ -1,3 +1,5 @@
1
+import { Service } from '@feathersjs/feathers'
2
+
3
/*
4
eslint
5
@typescript-eslint/no-explicit-any: 0
@@ -29,7 +31,7 @@ export interface HandleEvents {
29
31
30
32
export interface MakeServicePluginOptions {
33
Model: any
- service: any
34
+ service: Service<any>
35
36
idField?: string
37
tempIdField?: string
@@ -50,7 +52,7 @@ export interface MakeServicePluginOptions {
50
52
paramsForServer?: string[]
51
53
54
instanceDefaults?: () => {}
- setupInstance?: (data, { models, store }) => {}
55
+ setupInstance?: (data: any, { models, store }) => {}
56
handleEvents?: HandleEvents
57
state?: {}
58
getters?: {}
0 commit comments