You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type '(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>, number>, next: NextFunction) => Promise<...>' has no properties in common with type 'Partial<ServiceMethods<any, Partial>>
Property 'all' does not exist on type 'Application'.ts(2339)
But if we are using the @feathers/express Application type, it works, but then the settings types of the Application aren't available any more.
Expected behavior
In the @feathersjs/feathers Application type, it should be possible to add a custom express middleware if we are using express. Even the all method should be available, because of the different behaviour to use.
System configuration
Module versions (especially the part that's not working):
Steps to reproduce
During the usage of the Application, we get some incompatibility between the types of @feathersjs/feathers and @feathersjs/express.
Getting error:
But if we are using the @feathers/express Application type, it works, but then the settings types of the Application aren't available any more.
Expected behavior
In the @feathersjs/feathers Application type, it should be possible to add a custom express middleware if we are using express. Even the
all
method should be available, because of the different behaviour touse
.System configuration
Module versions (especially the part that's not working):
@feathersjs/express: 5.0.0-pre.15
@feathersjs/feathers: 5.0.0-pre.15
typescript: 4.5.4
NodeJS version:
16.13.3
Operating System:
macOS: 10.15.7
The text was updated successfully, but these errors were encountered: