Closed as not planned
Description
Description
DependsOnMethod
is not assignable to the Routing
type. At runtime, this is completely valid, so it's purely a type issue.
export const plans: Routing = new DependsOnMethod({
get: getPlansEndpoint,
})
Workaround
Adding a .nest({})
fixes the issue.
export const plans: Routing = new DependsOnMethod({
get: getPlansEndpoint,
}).nest({})