From de234c6d7e88fcb3a1685cf41292af70a853f2fd Mon Sep 17 00:00:00 2001 From: FabianLars Date: Mon, 6 Jan 2025 13:31:52 +0100 Subject: [PATCH] fmt --- plugins/websocket/guest-js/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/websocket/guest-js/index.ts b/plugins/websocket/guest-js/index.ts index c8b9f992..29dc54b9 100644 --- a/plugins/websocket/guest-js/index.ts +++ b/plugins/websocket/guest-js/index.ts @@ -63,7 +63,7 @@ export default class WebSocket { static async connect( url: string, - config?: ConnectionConfig + config?: ConnectionConfig, ): Promise { const listeners: Array<(arg: Message) => void> = []; const handler = (message: Message): void => { @@ -95,7 +95,7 @@ export default class WebSocket { m = { type: "Binary", data: message }; } else { throw new Error( - "invalid `message` type, expected a `{ type: string, data: any }` object, a string or a numeric array" + "invalid `message` type, expected a `{ type: string, data: any }` object, a string or a numeric array", ); } return await invoke("plugin:websocket|send", {