-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript error when using S3Handler
type
#1182
Comments
I think this was fix in the last release. If not, would you like to submit a PR? |
@willfarrell If by "last release" you mean |
Duplicate of #1176 |
Reopening since the issue is still present on latest version. |
On it 🙏 |
Hey @garysassano, middy(lambdaHandler).use(eventNormalizer())
// OR
const lambdaHandler = async (event: S3Event, context: Context) => {
await Promise.all(event.Records.map(async () => await Promise.resolve()))
}
const handler = middy<S3Event, void>().use(eventNormalizer()).handler(lambdaHandler) regarding a fix for the above syntax that you've mentioned, I'm on it but it will take some time. |
Hey @garysassano, |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
How to reproduce the behaviour:
Expected behaviour
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: