Open QuentinRoy opened 1 year ago
As maintainers we don't write nor support TS, but a PR is welcome!
Thanks for the answer! This makes sense. Unfortunately, I am afraid I won't be able to work on this myself, at least in the time being. Just to clarify, you are talking about a PR to https://github.com/DefinitelyTyped/DefinitelyTyped, is it?
I think (?) not sure though!
Describe the bug
Node.js version: 18.12.1
Typescript version: 4.9.4
Koa version: 2.14.1 (types: 2.13.5)
OS version: Mac OS 13.0.1
Description: Context's
session
is not properly typed despite the type definitions.Actual behavior
Expected behavior
Code to reproduce
main.ts
package.json
tsconfig.json
Checklist
Potential fix or workaround
At the moment, I need to manually define the context type for my app:
Is this the intended use?