Skip to content
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

The sample code for the EventBridgeHandler implementation in the Scheduling Functions document is incorrect, causing TS2314 #7939

Closed
Tak1wa opened this issue Sep 4, 2024 · 0 comments · Fixed by #7940

Comments

@Tak1wa
Copy link
Contributor

Tak1wa commented Sep 4, 2024

Describe the content issue:
The sample code for the EventBridgeHandler implementation in the Scheduling Functions document is incorrect, causing TS2314

amplify/hogejob/hogeschedule/handler.ts(3,23): error TS2314: Generic type 'EventBridgeHandler' requires 3 type argument(s).
amplify/hogejob/hogeschedule/handler.ts(3,51): error TS7006: Parameter 'event' implicitly has an 'any' type.

URL page where content issue is:
https://docs.amplify.aws/react/build-a-backend/functions/scheduling-functions/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant