Skip to content

Commit

Permalink
fix typeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Jun 19, 2022
1 parent ec6f436 commit 91195fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 91195fd

Please sign in to comment.