Skip to content

Commit 23491cf

Browse files
authored
Merge pull request dynamodb-toolbox#138 from omichowdhury/ts-transform-fix
Fix type of transform entity config
2 parents bed53b7 + a8ce72f commit 23491cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/Entity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface EntityAttributeConfig {
4747
type?: DynamoDBTypes
4848
default?: any | ((data: object) => any)
4949
dependsOn?: string | string[]
50-
transform?: (value: any, data: {}) => { resp: any }
50+
transform?: (value: any, data: {}) => any
5151
coerce?: boolean
5252
save?: boolean
5353
onUpdate?: boolean

0 commit comments

Comments
 (0)