diff --git a/packages/core/src/util/resolvers.ts b/packages/core/src/util/resolvers.ts index a415e252df..92880f6a23 100644 --- a/packages/core/src/util/resolvers.ts +++ b/packages/core/src/util/resolvers.ts @@ -127,7 +127,8 @@ const resolveSchemaWithSegments = ( return undefined; } - if (schema.$ref) { + // use typeof because schema can by of any type - check singleSegmentResolveSchema below + if (typeof schema.$ref === 'string') { schema = resolveSchema(rootSchema, schema.$ref, rootSchema); } diff --git a/packages/vue-vuetify/dev/components/ExampleAppBar.vue b/packages/vue-vuetify/dev/components/ExampleAppBar.vue index fe05ff7e1c..8cf4612c24 100644 --- a/packages/vue-vuetify/dev/components/ExampleAppBar.vue +++ b/packages/vue-vuetify/dev/components/ExampleAppBar.vue @@ -1,6 +1,6 @@