Skip to content

onChange error: Parameter 'event' implicitly has an 'any' type. #6

Open

Description

@Aniket-IN

Hi,

I was following your tutorial

Everything went perfectly, but I'm facing one slight problem.

When I try to pass as="input" and use onChange={(event) => ...}

It throws error: Parameter 'event' implicitly has an 'any' type.

I thought I was doing something wrong,
so I cloned this repo to test. (used the 04.tsx example)

But got the same result.

image

However, it works if I do like this:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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