Skip to content

Commit 0db87c8

Browse files
committed
fix format
1 parent 98b0605 commit 0db87c8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/compileValueSchema.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ export function compileValueSchema(
4444
const { $ref, ...constraints } = schema;
4545
if (Object.keys(constraints).length > 0) {
4646
// Apply the constraints to the additionalProperties schema if it exists
47-
if (
48-
resolved.type === 'object' &&
49-
typeof resolved.additionalProperties === 'object'
50-
) {
47+
if (resolved.type === 'object' && typeof resolved.additionalProperties === 'object') {
5148
return compileValueSchema(compiler, {
5249
...resolved,
5350
additionalProperties: { ...resolved.additionalProperties, ...constraints },

0 commit comments

Comments
 (0)