From 8544fd7bd8a65c28e9cfb24c9e74ee9a8f6904c3 Mon Sep 17 00:00:00 2001 From: ThomasAribart Date: Mon, 30 Dec 2024 14:01:49 +0100 Subject: [PATCH] fix type bug --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f38821e..3ee0f74 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,7 @@ export class Synchronizer extend [$metadata]: Metadata; [$awsConfig]?: AWSConfig - constructor(table: TABLE, entities: ENTITIES) { + constructor(table: TABLE, entities = [] as unknown as ENTITIES) { super(table, entities) this.apiUrl = 'https://api.dynamodb-toolshack.com'