mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Made name optional in jest::jasmine::createSpy
See https://github.com/jasmine/jasmine/issues/1438 and https://github.com/DefinitelyTyped/DefinitelyTyped/pull/21159.
This commit is contained in:
Vendored
+1
-1
@@ -555,7 +555,7 @@ declare namespace jasmine {
|
||||
function anything(): Any;
|
||||
function arrayContaining(sample: any[]): ArrayContaining;
|
||||
function objectContaining(sample: any): ObjectContaining;
|
||||
function createSpy(name: string, originalFn?: (...args: any[]) => any): Spy;
|
||||
function createSpy(name?: string, originalFn?: (...args: any[]) => any): Spy;
|
||||
function createSpyObj(baseName: string, methodNames: any[]): any;
|
||||
function createSpyObj<T>(baseName: string, methodNames: any[]): T;
|
||||
function pp(value: any): string;
|
||||
|
||||
Reference in New Issue
Block a user