Added missing return types to Spy methods

This commit is contained in:
Fyodor Soikin
2013-04-22 17:57:46 -04:00
parent b87f73abe9
commit 30f0df4b0f
+4 -4
View File
@@ -29,7 +29,7 @@ declare module jasmine {
var Clock: Clock;
function any(aclass: any);
function createSpy(name: string): any;
function createSpy(name: string): Spy;
function createSpyObj(baseName: string, methodNames: any[]): any;
function getEnv(): Env;
@@ -239,9 +239,9 @@ declare module jasmine {
wasCalled: bool;
callCount: number;
andReturn(value): void;
andCallThrough(): void;
andCallFake(fakeFunc: Function): void;
andReturn(value): Spy;
andCallThrough(): Spy;
andCallFake(fakeFunc: Function): Spy;
}
interface Suite {