json-schema-to-typescript
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -133,3 +133,3 @@ "use strict"; | ||
case 'UNION': return generateSetOperation(ast, options); | ||
case 'CUSTOM_TYPE': return ast.param; | ||
case 'CUSTOM_TYPE': return ast.params; | ||
} | ||
@@ -136,0 +136,0 @@ } |
@@ -87,3 +87,3 @@ "use strict"; | ||
keyName: keyName, | ||
param: schema.tsType, | ||
params: schema.tsType, | ||
standaloneName: standaloneName(schema, keyNameFromDefinition, usedNames), | ||
@@ -90,0 +90,0 @@ type: 'CUSTOM_TYPE' |
@@ -92,5 +92,5 @@ import { JSONSchema4Type } from 'json-schema'; | ||
type: 'CUSTOM_TYPE'; | ||
param: string; | ||
params: string; | ||
} | ||
export declare const T_ANY: TAny; | ||
export declare const T_ANY_ADDITIONAL_PROPERTIES: TAny & ASTWithName; |
{ | ||
"name": "json-schema-to-typescript", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "compile json schema to typescript typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -161,3 +161,3 @@ import { whiteBright } from 'cli-color' | ||
case 'UNION': return generateSetOperation(ast, options) | ||
case 'CUSTOM_TYPE': return ast.param | ||
case 'CUSTOM_TYPE': return ast.params | ||
} | ||
@@ -164,0 +164,0 @@ } |
@@ -107,3 +107,3 @@ import { whiteBright } from 'cli-color' | ||
keyName, | ||
param: schema.tsType!, | ||
params: schema.tsType!, | ||
standaloneName: standaloneName(schema, keyNameFromDefinition, usedNames), | ||
@@ -110,0 +110,0 @@ type: 'CUSTOM_TYPE' |
@@ -118,3 +118,3 @@ import { JSONSchema4Type } from 'json-schema' | ||
type: 'CUSTOM_TYPE' | ||
param: string | ||
params: string | ||
} | ||
@@ -121,0 +121,0 @@ |
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
7887019