Skip to content

Commit

Permalink
Unwrap id
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Oct 14, 2024
1 parent dac1ed6 commit ea2e4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const rpcRequestMessageSchema = v.object({
v.null(),
])
),
id: RpcIdSchema,
id: v.unwrap(RpcIdSchema),
});
export type RpcRequestMessage = v.InferOutput<typeof rpcRequestMessageSchema>;

Expand Down

0 comments on commit ea2e4eb

Please sign in to comment.