mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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:
Vendored
+1
-1
@@ -9,7 +9,7 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// ngResource module (angular-resource.js)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
module ng.resource {
|
||||
declare module ng.resource {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// ResourceService
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
Vendored
+1
-1
@@ -35,7 +35,7 @@ declare module chai {
|
||||
|
||||
interface TypeComparison {
|
||||
(type: string, message?: string): bool;
|
||||
instanceof(type: Object, ): bool;
|
||||
instanceof(type: Object): bool;
|
||||
}
|
||||
|
||||
interface NumericComparison {
|
||||
|
||||
Reference in New Issue
Block a user