Merge pull request #1194 from danrspencer/patch-1

Prototype for createSpyObj to allow for typed spies
This commit is contained in:
basarat
2013-10-28 18:01:03 -07:00
+1
View File
@@ -32,6 +32,7 @@ declare module jasmine {
function objectContaining(sample: any): ObjectContaining;
function createSpy(name: string, originalFn?: Function): Spy;
function createSpyObj(baseName: string, methodNames: any[]): any;
function createSpyObj<T>(baseName: string, methodNames: any[]): T;
function pp(value: any): string;
function getEnv(): Env;