diff --git a/nx-dev/feature-package-schema-viewer/src/lib/types/type.tsx b/nx-dev/feature-package-schema-viewer/src/lib/types/type.tsx index 6f7e0b2430379..e28be36978e14 100644 --- a/nx-dev/feature-package-schema-viewer/src/lib/types/type.tsx +++ b/nx-dev/feature-package-schema-viewer/src/lib/types/type.tsx @@ -60,8 +60,9 @@ function hasPatternProperties(s: JsonSchema1): boolean { } function hasAdditionalProperties(s: JsonSchema1): boolean { - return !( - typeof s.additionalProperties === 'boolean' && !s.additionalProperties + return ( + typeof s.additionalProperties === 'boolean' || + typeof s.additionalProperties === 'object' ); }