Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
spelling: type
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Feb 27, 2018
1 parent c3739fa commit 1067174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions should.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1067174

Please sign in to comment.