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
+1 -1
View File
@@ -9,7 +9,7 @@
///////////////////////////////////////////////////////////////////////////////
// ngResource module (angular-resource.js)
///////////////////////////////////////////////////////////////////////////////
module ng.resource {
declare module ng.resource {
///////////////////////////////////////////////////////////////////////////
// ResourceService
+1 -1
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;
+1 -1
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 {