Skip to content

Commit

Permalink
fix: extend defaults schema to include undefined, null, array, and ob…
Browse files Browse the repository at this point in the history
…ject types
  • Loading branch information
michaelfreund committed Feb 12, 2025
1 parent e95d007 commit d83fc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/model/config.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const ConfigSchema = z.object({
}),
),
defaults: z.record(
z.union([z.string(), z.number(), z.boolean()]),
z.union([z.string(), z.number(), z.boolean(), z.undefined(), z.null(), z.array(z.any()), z.object({})]),
),
}),
});
Expand Down

0 comments on commit d83fc61

Please sign in to comment.