Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Sep 15, 2022
2 parents 5a332fd + 321be17 commit ac7be8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xpadev-net/niconicomments",
"version": "0.2.23",
"version": "0.2.24",
"description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
"main": "dist/bundle.js",
"types": "dist/dts/types.d.ts",
Expand Down
9 changes: 1 addition & 8 deletions src/typeGuard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,7 @@ const typeGuard = {
},
apiChat: (i: unknown): i is apiChat =>
typeof i === "object" &&
typeVerify(i as apiChat, [
"content",
"date",
"date_usec",
"no",
"thread",
"vpos",
]),
typeVerify(i as apiChat, ["content", "date", "no", "thread", "vpos"]),
apiGlobalNumRes: (i: unknown): i is apiGlobalNumRes =>
typeVerify(i, ["num_res", "thread"]),
apiLeaf: (i: unknown): i is apiLeaf => typeVerify(i, ["count", "thread"]),
Expand Down

0 comments on commit ac7be8f

Please sign in to comment.