With the newest eslint version we currently get the error Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'..
This is fixed with this PR by extending the core.Params like it is in the express type of P.
With the newest eslint version we currently get the error
Type 'P' does not satisfy the constraint 'Params'. Type 'P' is not assignable to type 'ParamsArray'.
. This is fixed with this PR by extending thecore.Params
like it is in the express type ofP
.