DangerZone
DangerZone17mo ago

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!
1 Reply
Nick
Nick17mo ago
You’re doing something very weird, that’s all I can tell from your second screenshot When you do weird things you kind of leave yourself on your own when it goes wrong unfortunately