Skip to content

Commit 1ff9814

Browse files
Merge pull request #344 from jthomerson/fix-typos
refactor(typo): fix some typos
2 parents a5e1c50 + 4fac8eb commit 1ff9814

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mapper/custom/date-to-number.mapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function dateFromDb(attributeValue: NumberAttribute): Date {
88
if (attributeValue.N) {
99
return new Date(parseInt(attributeValue.N, 10))
1010
} else {
11-
throw new Error('there is no N(umber) value defiend on given attribute value')
11+
throw new Error('there is no N(umber) value defined on given attribute value')
1212
}
1313
}
1414

src/mapper/custom/date-to-string.mapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function dateFromDb(attributeValue: StringAttribute): Date {
1212
}
1313
return date
1414
} else {
15-
throw new Error('there is no S(tring) value defiend on given attribute value')
15+
throw new Error('there is no S(tring) value defined on given attribute value')
1616
}
1717
}
1818

0 commit comments

Comments
 (0)