From 91195fd12d10b39afce97584dd1b43fdd25136a6 Mon Sep 17 00:00:00 2001 From: xpa Date: Thu, 16 Jun 2022 21:22:09 +0900 Subject: [PATCH] fix typeguard --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index d4aa625d..05d18363 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1139,7 +1139,7 @@ const replaceAll = (string: string, target: string, replace: string) => { return string; } const isApiChat = (item: any): item is apiChat => - item.id&&item.vpos&&item.vpos + item.no&&item.vpos&&item.content const logger = (msg: any) => { if (isDebug) console.debug(msg);