Comparing version 3.4.19 to 3.4.20
@@ -137,2 +137,4 @@ "use strict"; | ||
else { | ||
if (items.length === 0) | ||
throw new Error("Error on typia.application(): swagger does not support zero length tuple type."); | ||
var merged = items.reduce(function (x, y) { | ||
@@ -139,0 +141,0 @@ return merge_metadata(x, y); |
{ | ||
"name": "typia", | ||
"version": "3.4.19", | ||
"version": "3.4.20", | ||
"description": "Runtime type checkers and 5x faster JSON.stringify() function", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -98,2 +98,7 @@ import { Metadata } from "../../metadata/Metadata"; | ||
else { | ||
if (items.length === 0) | ||
throw new Error( | ||
"Error on typia.application(): swagger does not support zero length tuple type.", | ||
); | ||
// SWAGGER DOES NOT SUPPORT TUPLE TYPE YET | ||
@@ -100,0 +105,0 @@ const merged: Metadata = items.reduce((x, y) => |
@@ -119,2 +119,3 @@ import ts from "typescript"; | ||
NO_BIGIT = "Error on typia.application(): does not allow bigint type.", | ||
NO_ZERO_LENGTH_TUPLE = "Error on typia.application(): swagger does not support zero length tuple type.", | ||
} |
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
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
1235651
22144
54