Merge pull request #638 from PicnicBasket/master

Getting chai to work with TS0.9
This commit is contained in:
Boris Yankov
2013-06-20 08:10:07 -07:00
2 changed files with 9 additions and 5 deletions
+1
View File
@@ -1,5 +1,6 @@
/// <reference path="chai.d.ts" />
var chai: chai;
var expect = chai.expect;
function test_be() {
+8 -5
View File
@@ -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;
}
}
}