rkusa/koa-passport

Not work well with @koa/router in Typescript

LuHugo opened this issue · 2 comments

In Typescript, router context type was conflict.

In Typescript, router context type was conflict.

Any fix for this?

I faced a similar issue, and was able to get past the conflict based on this post: DefinitelyTyped/DefinitelyTyped#36161 (comment)

I'm not sure what the root cause is about, and who (koa-router, or koa-passport and other middleware authors) should be fixing this though.