@travetto/base
Advanced tools
Comparing version 3.1.3 to 3.1.4
{ | ||
"name": "@travetto/base", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "Environment config and common utilities for travetto applications.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -161,3 +161,7 @@ import { ObjectUtil } from './object'; | ||
} | ||
throw new Error(`Unknown type ${type.name}`); | ||
if (!strict || ObjectUtil.isPlainObject(input)) { | ||
return input; | ||
} else { | ||
throw new Error(`Unknown type ${type.name}`); | ||
} | ||
} | ||
@@ -164,0 +168,0 @@ |
102039
2213