io-ts-from-json-schema
Advanced tools
Comparing version 0.0.13-alpha1 to 0.0.13-alpha2
@@ -479,6 +479,8 @@ #!/usr/bin/env node | ||
return [gen.nullType]; | ||
case 'object': | ||
return [gen.unknownRecordType]; | ||
case 'array': | ||
return [gen.unknownArrayType]; | ||
case 'object': | ||
// null and undefined are the only non-object types | ||
// and eliminating them is kinda inconvenient atm | ||
return []; | ||
} | ||
@@ -485,0 +487,0 @@ if (typeof schema.type !== 'undefined') { |
{ | ||
"name": "io-ts-from-json-schema", | ||
"version": "0.0.13-alpha1", | ||
"version": "0.0.13-alpha2", | ||
"description": "Iotsfjs is a static code generation utility used for converting json schema files into static TypeScript types and io-ts runtime validators.", | ||
@@ -5,0 +5,0 @@ "main": "lib/cli.js", |
62032
1384