Merge pull request #503 from bquarmby/patch-1

Update jasmine.d.ts
This commit is contained in:
Diullei Gomes
2013-05-02 17:29:38 -07:00
+10 -2
View File
@@ -31,7 +31,7 @@ declare module jasmine {
function any(aclass: any);
function createSpy(name: string): Spy;
function createSpyObj(baseName: string, methodNames: any[]): any;
function pp(value: any): string;
function getEnv(): Env;
interface Any {
@@ -145,6 +145,12 @@ declare module jasmine {
new (env: Env, actual, spec: Env, isNot?: bool);
env: Env;
actual: any;
spec: Env;
isNot?: bool;
message(): any;
toBe(expected): bool;
toNotBe(expected): bool;
toEqual(expected): bool;
@@ -232,6 +238,8 @@ declare module jasmine {
}
interface Spy {
(...params: any[]): any;
identity: string;
calls: any[];
mostRecentCall: { args: any[]; };
@@ -295,4 +303,4 @@ declare module jasmine {
}
export var HtmlReporter: any;
}
}