Merge pull request #21843 from dasa/patch-1

[lolex] Make `install` parameter `opts` optional
This commit is contained in:
Armando Aguirre
2017-11-29 18:18:29 -08:00
committed by GitHub

View File

@@ -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;