mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #21159 from JoshuaKGoldberg/patch-2
Made name optional in jasmine::createSpy
This commit is contained in:
Vendored
+1
-1
@@ -142,7 +142,7 @@ declare namespace jasmine {
|
||||
function arrayContaining<T>(sample: ArrayLike<T>): ArrayContaining<T>;
|
||||
function arrayWithExactContents<T>(sample: ArrayLike<T>): ArrayContaining<T>;
|
||||
function objectContaining<T>(sample: Partial<T>): ObjectContaining<T>;
|
||||
function createSpy(name: string, originalFn?: Function): Spy;
|
||||
function createSpy(name?: string, originalFn?: Function): Spy;
|
||||
|
||||
function createSpyObj(baseName: string, methodNames: any[] | {[methodName: string]: any}): any;
|
||||
function createSpyObj<T>(baseName: string, methodNames: any[] | {[methodName: string]: any}): SpyObj<T>;
|
||||
|
||||
Reference in New Issue
Block a user