summaryrefslogtreecommitdiff
path: root/std/ws/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/ws/test.ts')
-rw-r--r--std/ws/test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/ws/test.ts b/std/ws/test.ts
index a1c396b18..9ef6ff94b 100644
--- a/std/ws/test.ts
+++ b/std/ws/test.ts
@@ -283,8 +283,8 @@ function dummyConn(r: Reader, w: Writer): Conn {
return {
rid: -1,
closeWrite: (): void => {},
- read: (x): Promise<number | null> => r.read(x),
- write: (x): Promise<number> => w.write(x),
+ read: (x: Uint8Array): Promise<number | null> => r.read(x),
+ write: (x: Uint8Array): Promise<number> => w.write(x),
close: (): void => {},
localAddr: { transport: "tcp", hostname: "0.0.0.0", port: 0 },
remoteAddr: { transport: "tcp", hostname: "0.0.0.0", port: 0 },