Skip to content

Commit eb2204f

Browse files
authored
Fix: [AEA-0000] - change type to just any as other type not needed (#131)
1 parent 41cb8f5 commit eb2204f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type LoggerAndLevel = {
3131
function errorHandler({logger = console, level = "error"}: LoggerAndLevel) {
3232
return {
3333
onError: async (handler) => {
34-
const error: Error | any = handler.error
34+
const error: any = handler.error
3535
const requestId = handler.event.requestContext?.requestId ?? null
3636
const timeEpoch = handler.event.requestContext?.timeEpoch ?? null
3737

0 commit comments

Comments
 (0)