mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Added missing return types to Spy methods
This commit is contained in:
1 parent
b87f73abe9
commit
30f0df4b0f
1 file changed
+4
-4
Vendored
+4
-4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user