diff --git a/lib/types.js b/lib/types.js index 4eee88ac..aea86d02 100644 --- a/lib/types.js +++ b/lib/types.js @@ -17,7 +17,7 @@ module.exports = function (Types) { return this.value; }; - Types.JSON = function JSON() { + Types.JSON = function JSON(value) { if (!(this instanceof JSON)) { return new JSON(value); } @@ -27,7 +27,7 @@ module.exports = function (Types) { return this.value; }; - Types.Any = function Any() { + Types.Any = function Any(value) { if (!(this instanceof Any)) { return new Any(value); }