Skip to content

Commit 37e5c4e

Browse files
committed
fix(read-many-request): remove unnecessary type assertion
1 parent cb2b4b1 commit 37e5c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dynamo/request/read-many.request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export abstract class ReadManyRequest<T,
152152
}
153153

154154
protected mapFromDb = (output: O) => {
155-
const response: Z = <any>{ ...<any>output }
155+
const response: Z = { ...<any>output }
156156
response.Items = (output.Items || []).map(item => fromDb(<Attributes<T>>item, this.modelClazz))
157157

158158
return response

0 commit comments

Comments
 (0)