Skip to content

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

@Tak1wa

Description

@Tak1wa

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions