Skip to content

Commit 4361b21

Browse files
author
Michael Wittwer
committed
chore(typescript): resolve typescript errors
1 parent 1137190 commit 4361b21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/decorator/impl/model/errors.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export const modelErrors = {
1212
`there is already a sort key defined for global secondary index ${indexName} (property name: ${propDbName})`,
1313
lsiMultipleSk: (indexName: string, propDbName: string) =>
1414
`only one sort key can be defined for the same local secondary index, ${propDbName} is already defined as sort key for index ${indexName}`,
15-
lsiRequiresPk: (indexName: string, propDbName: string) =>
15+
lsiRequiresPk: (indexName: string, _propDbName: string) =>
1616
`the local secondary index ${indexName} requires the partition key to be defined`,
1717
}

src/dynamo/dynamo-db-wrapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export class DynamoDbWrapper {
1414

1515
constructor(dynamoDB?: DynamoDB) {
1616
// create the actual dynamoDB client
17+
// @ts-ignore
1718
this.dynamoDB = dynamoDB || new DynamoDB()
1819
}
1920

0 commit comments

Comments
 (0)