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:
Marcel Hoyer
2014-09-10 13:30:02 +02:00
parent 50dd84eb5d
commit f5b81bbcf0
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -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;