DependsOnMethod
is not assignable to the Routing
type
#2465
Labels
not an issue
Irreproducible or unrelated
DependsOnMethod
is not assignable to the Routing
type
#2465
Description
DependsOnMethod
is not assignable to theRouting
type. At runtime, this is completely valid, so it's purely a type issue.Workaround
Adding a
.nest({})
fixes the issue.Reproduction
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgEQKZlQOwCYGcDymAsqjABYTYA0cMAnhnAEoQCuMwmA5nAL5wAzKBBBwA5KgAeYKKly4AtAC9KCgIZhgYgFDapkWHADGETLngCIEAFzM2HbnAC8cTKgDuKdFjyES5SgAKBF4ASl19aHgTM3gAIzUoWxZ2Th4XN080DBwCYlIKbGCwgDo3c2LQoA
The text was updated successfully, but these errors were encountered: