Skip to content

TypeScript complains when trying the provided typescript example #209

@katerlouis

Description

@katerlouis
Image Image

Type 'Events' does not satisfy the constraint 'Record<EventType, unknown>'.
Index signature for type 'string' is missing in type 'Events'.ts(2344)

I have "strict": true in my tsconfig.json; I don't know what else I might be doing wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions