From 1067174f4531c6f8a7814758ce4f8be12d86629a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 27 Feb 2018 07:41:19 +0000 Subject: [PATCH] spelling: type --- should.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/should.js b/should.js index 7589ed5..75fca9f 100644 --- a/should.js +++ b/should.js @@ -134,15 +134,15 @@ TypeChecker.prototype = { }, addTypeOf: function(type, res) { - return this.add(function(obj, tpeOf) { - if (tpeOf === type) { + return this.add(function(obj, typeOf) { + if (typeOf === type) { return new Type(res); } }); }, addClass: function(cls, res, sub) { - return this.add(function(obj, tpeOf, objCls) { + return this.add(function(obj, typeOf, objCls) { if (objCls === cls) { return new Type(types.OBJECT, res, sub); }