Closed Julienng closed 2 years ago
That is very strange. I used it and personally had no problem. However though, I did notice this happens from time to time (even on older version) but not sure the cause.
Yes, this is very strange 🤔. Ts is weird sometimes! Thanks anyway, your lib is awesome 👍!
Hi,
I just upgrade the next-connect on 0.10.1 and the change :
into the NextConnect interface make typescript infer any on req & res on
.use
function.Example screenshot before / after
I don't know enough about TS inference here to make a pull request 😕.