Created
December 6, 2021 21:39
-
-
Save Niedzwiedzw/31aa0c76bb8b9d782e532d3164347a17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// somewhere in your project, create a svelte-jsx.d.ts file and add this: | |
declare namespace svelte.JSX { | |
interface HTMLAttributes<T> { | |
onchecked?: () => void; | |
onunchecked?: () => void; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
credits go to svelte-discord user @Tropical#4355