From 0d3e535ea51247646aa1a2bcfdbd43a64d1f4e42 Mon Sep 17 00:00:00 2001 From: George Lima Date: Mon, 11 Feb 2019 10:52:51 -0300 Subject: [PATCH] type(electron-store): fix typedefs --- flow-custom-typedefs/electron-store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow-custom-typedefs/electron-store.js b/flow-custom-typedefs/electron-store.js index d01bd5d..70492a4 100644 --- a/flow-custom-typedefs/electron-store.js +++ b/flow-custom-typedefs/electron-store.js @@ -10,9 +10,9 @@ declare module 'electron-store' { fileExtension?: string, }): ElectronStore; - set(key: string, value: string): void; + set(key: string, value: any): void; set(payload: Object): void; - get(key: string): string; + get(key: string): any; has(key: string): boolean; delete(key: string): void; clear(): void;