Added map to schema object types

This commit is contained in:
Fosco Marotto
2016-01-30 15:42:11 -08:00
parent 774de7b4c6
commit 859333b311

View File

@@ -282,6 +282,7 @@ function getType(obj) {
case 'string':
case 'number':
return type;
case 'map':
case 'object':
if (!obj) {
return undefined;