Skip to content
Myr

refactor(aws-lambada): remove FIXME in `@ts-expect-error` (#5130)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by GitHub · parent 5f73897 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/adapter/aws-lambda/handler.ts+1 added-1 removed
246 unmodified lines
247 (L extends { multiValueHeaders: Record<string, string[]> }248 ? WithMultiValueHeaders249 : WithHeaders)250>) => {251 // @ts-expect-error FIXME: Fix return typing251 // @ts-expect-error conditional return type is not inferable252 return async (event, lambdaContext?) => {253 const processor = getProcessor(event)254255 let req, requestContext
419 unmodified lines