@hoth/typescript-to-json-schema
Advanced tools
Comparing version 2.0.0 to 2.0.1-0
@@ -11,3 +11,3 @@ "use strict"; | ||
const interfaces = source.getInterfaces(); | ||
definitions = interfaces.reduce((prev, node) => (Object.assign(Object.assign({}, prev), { [node.getName().toLowerCase()]: util_1.processInterface(node, sourceFile, state) })), definitions); | ||
definitions = interfaces.reduce((prev, node) => node.getTypeParameters().length > 0 ? prev : Object.assign(Object.assign({}, prev), { [node.getName().toLowerCase()]: util_1.processInterface(node, sourceFile, state) }), definitions); | ||
const typeAliases = source.getTypeAliases(); | ||
@@ -14,0 +14,0 @@ definitions = typeAliases.reduce((prev, node) => (Object.assign(Object.assign({}, prev), { [node.getName().toLowerCase()]: util_1.processTypeAlias(node, sourceFile, state) })), definitions); |
{ | ||
"name": "@hoth/typescript-to-json-schema", | ||
"version": "2.0.0", | ||
"version": "2.0.1-0", | ||
"description": "typescript to json-schema transpiler", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
45634
2