mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-30 02:16:01 +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:
2
chai/chai-assert.d.ts
vendored
2
chai/chai-assert.d.ts
vendored
@@ -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
2
chai/chai.d.ts
vendored
@@ -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