From 5edba0ddde9a2d08897d1357aeec8c7addce5fdb Mon Sep 17 00:00:00 2001 From: "Ajay.Gov" Date: Sun, 17 Sep 2023 20:31:51 -0500 Subject: [PATCH] Fix compilation error (#136) --- .../swim-runtime/swim-host/swim-client/src/test/MockServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swim-js/swim-runtime/swim-host/swim-client/src/test/MockServer.ts b/swim-js/swim-runtime/swim-host/swim-client/src/test/MockServer.ts index 2ae3844fb..af1f1f51e 100644 --- a/swim-js/swim-runtime/swim-host/swim-client/src/test/MockServer.ts +++ b/swim-js/swim-runtime/swim-host/swim-client/src/test/MockServer.ts @@ -56,7 +56,7 @@ export class MockServer { if (data instanceof Envelope) { data = data.toRecon(); } - this.socket!.send(data); + this.socket!.send(data as Buffer); } close(): void {