mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +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:
Vendored
+4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user