bridge-compile
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -20,3 +20,3 @@ "use strict"; | ||
return `Record<${(0, exports.JSONTypeToTSInterface)(JSONType.record.key)}, ${(0, exports.JSONTypeToTSInterface)(JSONType.record.value)}>`; | ||
if ('union' in JSONType) | ||
if ('union' in JSONType && JSONType.union.length > 0) | ||
return '(' + JSONType.union.map((elem) => (0, exports.JSONTypeToTSInterface)(elem)).join(' | ') + ')'; | ||
@@ -23,0 +23,0 @@ if ('intersection' in JSONType && JSONType.intersection.length > 0) |
{ | ||
"name": "bridge-compile", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Compile the sdk of your Bridge project with one command locally", | ||
@@ -5,0 +5,0 @@ "author": "Bridge Team <support@bridge.codes>", |
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
39827