From 3b8b23e227969481b1442da53a5adeac53ed3346 Mon Sep 17 00:00:00 2001 From: BluJ Date: Tue, 9 May 2023 16:07:31 -0600 Subject: [PATCH] chore: Update the config builder --- lib/StartSdk.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/StartSdk.ts b/lib/StartSdk.ts index 7486db0..888e343 100644 --- a/lib/StartSdk.ts +++ b/lib/StartSdk.ts @@ -225,12 +225,11 @@ export class StartSdk { setupBackups(...args), setupConfig: < ConfigType extends - | Record - | Config + | Config | Config, Type extends Record = ExtractConfigType, >( - spec: Config | Config, + spec: ConfigType, write: Save, read: Read, ) =>