typescript-is
Advanced tools
Comparing version 0.7.13 to 0.7.14
@@ -118,3 +118,3 @@ "use strict"; | ||
if (source === typeParameters[i]) { | ||
return typeArguments[i] || typeParameters[i].getDefault(); | ||
return typeArguments[i]; | ||
} | ||
@@ -254,3 +254,3 @@ } | ||
} | ||
const mappedType = typeMapper(type); | ||
const mappedType = typeMapper(type) || type.getDefault(); | ||
if (mappedType === undefined) { | ||
@@ -257,0 +257,0 @@ throw new Error('Unbound type parameter, missing type node.'); |
{ | ||
"name": "typescript-is", | ||
"version": "0.7.13", | ||
"version": "0.7.14", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=6.14.4" |
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
87765