From f9d629654f742a39a16ef5d0ca09a430fe5b5a25 Mon Sep 17 00:00:00 2001 From: kaorun343 Date: Thu, 8 Aug 2019 23:43:57 +0900 Subject: [PATCH 1/2] Fix exporting PWMetrics --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index 5c43851..c1e64d3 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -242,4 +242,4 @@ class PWMetrics { } } -module.exports = PWMetrics; +export = PWMetrics; From f7cf6424986e18eda3180a97e000a8afd6a2cbb5 Mon Sep 17 00:00:00 2001 From: kaorun343 Date: Thu, 8 Aug 2019 23:46:10 +0900 Subject: [PATCH 2/2] Fix type definition of MainOptions.flags --- types/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/types.ts b/types/types.ts index 1953e9e..7eb4c5d 100644 --- a/types/types.ts +++ b/types/types.ts @@ -12,7 +12,7 @@ export interface SheetsConfig { } export interface MainOptions { - flags?: FeatureFlags; + flags?: Partial; sheets?: SheetsConfig; expectations?: ExpectationMetrics; clientSecret?: AuthorizeCredentials;