Comparing version 0.0.3 to 0.0.4
@@ -66,3 +66,3 @@ /* | ||
if(!Number.isInteger(value)) | ||
throw ChecktypeError(key, Integer, value); | ||
throw ChecktypeError(key, 'Integer', value); | ||
}; | ||
@@ -160,3 +160,4 @@ | ||
checkType.checkParams = checkParams; | ||
checkType.checkParams = checkParams; | ||
checkType.ChecktypeError = ChecktypeError; | ||
@@ -163,0 +164,0 @@ |
{ | ||
"name": "checktype", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Check the type of variables and parametes, also user defined", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4603
127