Lext
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?1 replies
How to use MUI in Fresh?
Is there a way to use Material UI components library in Fresh?
Here is the code I tried:
And it gives me this error:
You can use MUI in Preact: https://github.com/mui/material-ui/tree/master/examples/preact
But I don't know how to use it in Fresh.
2 replies