Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work well with @koa/router in Typescript #136

Open
LuHugo opened this issue Feb 9, 2020 · 2 comments
Open

Not work well with @koa/router in Typescript #136

LuHugo opened this issue Feb 9, 2020 · 2 comments

Comments

@LuHugo
Copy link

LuHugo commented Feb 9, 2020

In Typescript, router context type was conflict.

@smasinde
Copy link

In Typescript, router context type was conflict.

Any fix for this?

@geksiong
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants