Lext
Lext2y ago

Deno-lint shows an error on the event type. (which shouldn't be)

Here is the full thread about it: https://discord.com/channels/684898665143206084/1050387276322058311 I use JSX.TargetedEvent<HTMLInputElement, Event> as the type of event. It works perfectly when I run it, but deno-lint still give me this error when I use event.key : Property 'key' does not exist on type 'TargetedEvent<HTMLInputElement, Event>'. Is there anyway to fix it?
0 Replies
No replies yetBe the first to reply to this messageJoin