Skip to content

Commit

Permalink
Merge pull request #3 from dynamodb-toolbox/fix-type-bug
Browse files Browse the repository at this point in the history
fix type bug
  • Loading branch information
ThomasAribart authored Dec 30, 2024
2 parents bff25ae + 8544fd7 commit ea1aad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Synchronizer<TABLE extends Table, ENTITIES extends Entity[]> 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'
Expand Down

0 comments on commit ea1aad0

Please sign in to comment.