Open
Description
Hi
I added koa-websocket to my project, and it works well at runtime. But Typescript type check complains about
error TS2339: Property 'ws' does not exist on type 'import("/home/frank/dev/task-runner/node_modules/@types/koa/index.d.ts")<DefaultState, DefaultContext>'.
for the code (which runs fine)
app.ws.use(
route.all('/', (ctx: any) => {
Any idea how to resolve it ?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels