Skip to content

Commit

Permalink
fix: remove unnecessary nonnegative constraint in msgPackSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
calvin-laurenson authored Jan 19, 2024
1 parent 196f50d commit 19107ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ntcore-ts-client/src/lib/types/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const msgPackValueSchema = z.union([
/** Schema for a binary message in the msgpack format. */
export const msgPackSchema = z.tuple([
z.union([z.number().int().nonnegative(), z.literal(-1)]),
z.number().int().nonnegative(),
z.number().int(),
typeNumSchema,
msgPackValueSchema,
]);

0 comments on commit 19107ef

Please sign in to comment.