mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-19 05:03:32 +08:00
Merge pull request #21843 from dasa/patch-1
[lolex] Make `install` parameter `opts` optional
This commit is contained in:
2
types/lolex/index.d.ts
vendored
2
types/lolex/index.d.ts
vendored
@@ -217,4 +217,4 @@ export interface LolexInstallOpts {
|
||||
* @param toFake Names of methods that should be faked.
|
||||
* @type TClock Type of clock to create.
|
||||
*/
|
||||
export declare function install<TClock extends Clock>(opts: LolexInstallOpts): TClock;
|
||||
export declare function install<TClock extends Clock>(opts?: LolexInstallOpts): TClock;
|
||||
|
||||
Reference in New Issue
Block a user