File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export const doCreateDefaultValue = (
186
186
rootSchema : JsonSchema
187
187
) => {
188
188
const resolvedSchema =
189
- typeof schema ? .$ref === 'string'
189
+ typeof schema . $ref === 'string'
190
190
? Resolve . schema ( rootSchema , schema . $ref , rootSchema )
191
191
: schema ;
192
192
if ( resolvedSchema . default !== undefined ) {
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ const resolveSchemaWithSegments = (
136
136
}
137
137
138
138
// use typeof because schema can by of any type - check singleSegmentResolveSchema below
139
- if ( typeof schema ? .$ref === 'string' ) {
139
+ if ( typeof schema . $ref === 'string' ) {
140
140
schema = resolveSchema ( rootSchema , schema . $ref , rootSchema ) ;
141
141
}
142
142
You can’t perform that action at this time.
0 commit comments