Skip to content

Commit 69377c0

Browse files
committed
fix fixture
1 parent bc72823 commit 69377c0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/schema-generator/test/fixtures/schema/anonymous-recursive-wrapper.expected.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
"$ref": "#/$defs/SchemaRoot"
1111
}
1212
},
13-
"required": [
14-
"self"
15-
],
1613
"default": {}
1714
}
1815
},

packages/schema-generator/test/fixtures/schema/anonymous-recursive-wrapper.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ type Default<T, V extends T = T> = T;
77
interface SchemaRoot {
88
// Anonymous object type wrapped in Default, containing self-reference to SchemaRoot
99
// deno-lint-ignore ban-types
10-
field: Default<{ self: SchemaRoot }, {}>;
10+
field: Default<{ self?: SchemaRoot }, {}>;
1111
}

0 commit comments

Comments
 (0)