mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +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:
1 parent
50b3d35c54
commit
694b1d528f
3 files changed
+3
-3
No files matched your search
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