I'm getting an error when declaring the create method which shows
Property 'create' in type 'Users' is not assignable to the same property in base type 'ServiceOverloads<any> & ServiceAddons<any> & ServiceMethods<any>'.
Type '(data: any, params: any) => Promise<void>' is not assignable to type '{ (data: Partial<any>, params?: Params | undefined): Promise<any>; (data: Partial<any>[], params?: Params | undefined): Promise<any[]>; } & ((data: Partial<...> | Partial<...>[], params?: Params | undefined) => Promise<...>)'.
Type '(data: any, params: any) => Promise<void>' is not assignable to type '{ (data: Partial<any>, params?: Params | undefined): Promise<any>; (data: Partial<any>[], params?: Params | undefined): Promise<any[]>; }'.
Type 'Promise<void>' is not assignable to type 'Promise<any[]>'.
Type 'void' is not assignable to type 'any[]'
I'm following the TS tutorial https://docs.feathersjs.com/guides/basics/services.html#service-methods
I'm getting an error when declaring the create method which shows
Can someone please show me the way to fix this?