Open ratorx opened 3 years ago
Can you compile a list? Is there a definitive source for these? Would it be possible to consume the correct types from some another type definition for the DOM?
Typescript has a list of generated DOM types as well as the source code for the generator available.
This seems like a good source of definitive APIs for this project. Perhaps a wrapper to the generator could be used to generate the specific type definitions needed by this project?
Some attributes are incorrectly marked as taking a
string
, whereas they should takeboolean
values.As a concrete example,
HtmlScriptTag.defer
should take aboolean
argument, rather than astring
argument.