Add JSX types. The attribute function is somewhat sloppy, with my skills at this point I am not sure I can do better :) This should allow to use the library fully in TypeScript, which is a good start.
Almost all the credit goes to Preact (ref) with slight tweaks due to changes in internal API between libraries.
Description
Add JSX types. The attribute function is somewhat sloppy, with my skills at this point I am not sure I can do better :) This should allow to use the library fully in TypeScript, which is a good start.
Almost all the credit goes to Preact (ref) with slight tweaks due to changes in internal API between libraries.