diff --git a/should/should-tests.ts b/should/should-tests.ts index e88c6f1447..fafb1d7c74 100644 --- a/should/should-tests.ts +++ b/should/should-tests.ts @@ -39,6 +39,9 @@ should.not.exist(false); should.not.exist(''); should.not.exist({}); +Should.exist(null); +window.Should.exist(null); + user.should.have.property('pets').with.lengthOf(4); user.pets.should.have.lengthOf(4); user.should.be.of.type('object').and.have.property('name', 'tj'); diff --git a/should/should.d.ts b/should/should.d.ts index 8b4c21fc1e..27650cc3f6 100644 --- a/should/should.d.ts +++ b/should/should.d.ts @@ -112,6 +112,10 @@ interface Internal extends ShouldInternal { } declare var should: Internal; +declare var Should: Internal; +interface Window { + Should: Internal; +} declare module "should" { export = should;