DangerZoneD
tRPC3y ago
2 replies
DangerZone

Express middleware router type isn't correct

I am trying to build an adapter for nestjs, this adapter needs to add the express middleware but for some reason the router type isn't going through and it seems that the AnyRouter type isn't compatible.

I've attached some photos of the implementation and the error.
Thanks!
image.png
image.png
Was this page helpful?