From 3ca88e4d179584c1da245831889ea7a2c5346fb4 Mon Sep 17 00:00:00 2001 From: Dasa Paddock Date: Wed, 29 Nov 2017 11:35:27 -0800 Subject: [PATCH] Make `install` parameter `opts` optional --- types/lolex/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/lolex/index.d.ts b/types/lolex/index.d.ts index 510cb911ec..68f87793d9 100644 --- a/types/lolex/index.d.ts +++ b/types/lolex/index.d.ts @@ -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(opts: LolexInstallOpts): TClock; +export declare function install(opts?: LolexInstallOpts): TClock;