mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-13 12:20:12 +08:00
extends should.d.ts to support global 'Should' and 'window.Should' variable for in-browser mode (See https://github.com/visionmedia/should.js/#in-browser)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user