Argument of type 'ScheduledHandler' is not assignable to parameter of type 'MiddyInputHandler<EventBridgeEvent<"Scheduled Event"
#1239
Labels
Milestone
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
How to reproduce the behaviour:
index.ts
Expected behaviour
No error should be thrown, instead you get this:
Environment (please complete the following information):
Additional context
You can fix the issue by avoiding to use the
.handler()
, like this:The text was updated successfully, but these errors were encountered: