mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-29 21:17:34 +00:00
Merge pull request #16798 from geertjansen/patch-1
update methodNames parameter type on createSpyObj
This commit is contained in:
commit
555ae8a2d1
4
types/jasmine/index.d.ts
vendored
4
types/jasmine/index.d.ts
vendored
@ -137,8 +137,8 @@ declare namespace jasmine {
|
||||
function objectContaining<T>(sample: Partial<T>): ObjectContaining<T>;
|
||||
function createSpy(name: string, originalFn?: Function): Spy;
|
||||
|
||||
function createSpyObj(baseName: string, methodNames: any[]): any;
|
||||
function createSpyObj<T>(baseName: string, methodNames: any[]): SpyObj<T>;
|
||||
function createSpyObj(baseName: string, methodNames: any[] | {[methodName: string]: any}): any;
|
||||
function createSpyObj<T>(baseName: string, methodNames: any[] | {[methodName: string]: any}): SpyObj<T>;
|
||||
|
||||
function createSpyObj(baseName: string, methodNames: any): any;
|
||||
function createSpyObj(methodNames: any[]): any;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user