json-schema-to-typescript
Advanced tools
Comparing version 4.3.2 to 4.3.3
@@ -80,2 +80,8 @@ "use strict"; | ||
switch (ast.type) { | ||
case 'ARRAY': | ||
type = [ | ||
declareNamedTypes(ast.params, options, processed), | ||
AST_1.hasStandaloneName(ast) ? generateStandaloneType(ast, options) : undefined | ||
].filter(Boolean).join('\n'); | ||
break; | ||
case 'ENUM': | ||
@@ -82,0 +88,0 @@ type = ''; |
{ | ||
"name": "json-schema-to-typescript", | ||
"version": "4.3.2", | ||
"version": "4.3.3", | ||
"description": "compile json schema to typescript typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -102,2 +102,8 @@ import { whiteBright } from 'cli-color' | ||
switch (ast.type) { | ||
case 'ARRAY': | ||
type = [ | ||
declareNamedTypes((ast as TArray).params, options, processed), | ||
hasStandaloneName(ast) ? generateStandaloneType(ast, options) : undefined | ||
].filter(Boolean).join('\n') | ||
break | ||
case 'ENUM': | ||
@@ -104,0 +110,0 @@ type = '' |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1263439
36483