From e3fae8e76e3be32c8098d179bfb2676476a47e1b Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 21 Apr 2022 01:20:08 -0700 Subject: [PATCH] Fix `Options` type parameter constraint for TS 4.7 (#223) --- index.d.ts | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 593b4c3..73b3378 100644 --- a/index.d.ts +++ b/index.d.ts @@ -4,7 +4,7 @@ import Conf, {Schema as ConfSchema, Options as ConfOptions} from 'conf'; declare namespace ElectronStore { type Schema = ConfSchema; - type Options = Except, 'configName' | 'projectName' | 'projectVersion' | 'projectSuffix'> & { + type Options> = Except, 'configName' | 'projectName' | 'projectVersion' | 'projectSuffix'> & { /** Name of the storage file (without extension). diff --git a/package.json b/package.json index 933b16a..c9c11c5 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "save" ], "dependencies": { - "conf": "^10.0.3", - "type-fest": "^1.0.2" + "conf": "^10.1.2", + "type-fest": "^2.12.2" }, "devDependencies": { "ava": "^2.4.0",