Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Sep 30, 2024
1 parent 4cbdd96 commit 8e4b1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zKcContextLike.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const zI18nApi = (() => {

const zTargetType = z.object({
msgJSON: z.string(),
supportedLocales: z.record(z.string())
supportedLocales: z.record(z.string()).optional(),
});

assert<Equals<z.infer<typeof zTargetType>, TargetType>>();
Expand Down

0 comments on commit 8e4b1dd

Please sign in to comment.