From c1ff8242d9c2c4f4f177f8f779ad5c8d1d08cc94 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 21 Jan 2022 00:42:33 +0800 Subject: [PATCH] fix grammer --- src/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.ts b/src/connection.ts index 85f919d40..05df1edda 100644 --- a/src/connection.ts +++ b/src/connection.ts @@ -11,7 +11,7 @@ const licenceKey = ""; const SCHEMA = "ws://"; type MsgboxCallback = (type: string, title: string, text: string) => void; -type DrawCallback = (Uint8Array) => void; +type DrawCallback = (data: Uint8Array) => void; export default class Connection { _msgs: any[];