mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #638 from PicnicBasket/master
Getting chai to work with TS0.9
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/// <reference path="chai.d.ts" />
|
||||
|
||||
var chai: chai;
|
||||
var expect = chai.expect;
|
||||
|
||||
function test_be() {
|
||||
|
||||
Vendored
+8
-5
@@ -33,9 +33,9 @@ declare module chai {
|
||||
(expected: RegExp, message?: string);
|
||||
}
|
||||
|
||||
interface TypeComparison {
|
||||
interface TypeComparison {
|
||||
(type: string, message?: string): bool;
|
||||
instanceof(type: Object): bool;
|
||||
instanceof(type: Object): bool;
|
||||
}
|
||||
|
||||
interface NumericComparison {
|
||||
@@ -116,7 +116,10 @@ declare module chai {
|
||||
to: To;
|
||||
}
|
||||
|
||||
var expect : {
|
||||
(target: any): ExpectMatchers;
|
||||
}
|
||||
|
||||
interface chai {
|
||||
expect: {
|
||||
(target: any): chai.ExpectMatchers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user