Fixed for TS0.9 :

angular-resource: declare required
chai-assert: 'declare' modifier not allowed for code already in an ambient context.
chai: Trailing comma not allowed
This commit is contained in:
Basarat Syed
2013-06-19 18:08:15 +10:00
parent 50b3d35c54
commit 694b1d528f
3 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ declare module chai
ifError(val:any, msg?:string);
}
//node module
declare var assert:Assert;
var assert:Assert;
}
//browser global
declare var assert:chai.Assert;

2
chai/chai.d.ts vendored
View File

@@ -35,7 +35,7 @@ declare module chai {
interface TypeComparison {
(type: string, message?: string): bool;
instanceof(type: Object, ): bool;
instanceof(type: Object): bool;
}
interface NumericComparison {