Use generic type for store

This commit is contained in:
Jakub Synowiec 2018-02-17 16:19:37 +01:00
parent 992cd81c05
commit 5ff2de3ce7

View File

@ -82,7 +82,7 @@ declare module 'electron-store' {
/**
* Gets all the config as an object or replace the current config with an object.
*/
store: {};
store: T;
/**
* Gets the path to the config file.