From cb1412d157ebe0a5c315f2433af320e66d454a6b Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Tue, 23 Jan 2024 13:10:14 -0800 Subject: [PATCH] Fix typecheck error --- packages/loot-core/src/client/state-types/prefs.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/loot-core/src/client/state-types/prefs.d.ts b/packages/loot-core/src/client/state-types/prefs.d.ts index 21ad02f3dac..dd2e8b4e4f7 100644 --- a/packages/loot-core/src/client/state-types/prefs.d.ts +++ b/packages/loot-core/src/client/state-types/prefs.d.ts @@ -2,8 +2,8 @@ import type { LocalPrefs, GlobalPrefs } from '../../types/prefs'; import type * as constants from '../constants'; export type PrefsState = { - local: LocalPrefs | null; - global: GlobalPrefs | null; + local: LocalPrefs; + global: GlobalPrefs; }; export type SetPrefsAction = {