Skip to content

Commit

Permalink
Bring back non generic spyOn method
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Zech committed Feb 23, 2017
1 parent 89328a7 commit f413d66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jasmine/index.d.ts
Expand Up @@ -36,6 +36,7 @@ interface DoneFn extends Function {
fail: (message?: Error|string) => void;
}

declare function spyOn(object: any, method: string): jasmine.Spy;
declare function spyOn<T>(object: T, method: keyof T): jasmine.Spy;

declare function runs(asyncMethod: Function): void;
Expand Down

0 comments on commit f413d66

Please sign in to comment.