Testing.ts falls
Closed this issue · 1 comments
your-comrade commented
Hi, when I run this example, it falls.
error: TS2322 [ERROR]: Type '() => void' is not assignable to type '() => Promise<void>'.
Type 'void' is not assignable to type 'Promise<void>'.
closeWrite(): void {},
~~~~~~~~~~
at https://servestjs.org/@v1.1.7/testing.ts:45:5
deno 1.7.1 (release, x86_64-pc-windows-msvc)
v8 8.9.255.3
typescript 4.1.3
your-comrade commented
Omg, I just needed to update