SVG 1.1 defines 80 elements. SVG 2 defines 77. TypeScript has 61 interfaces for SVG elements, based on the type declarations for createElementNS(). Some examples of SVG interfaces missing in TypeScript (many of them are defined by both SVG versions):
Based on this, some questions:
Overall, I would simply like to know if we are walking on a minefield, and if so to see this stated clearly somewhere.
In my experience, the support for JavaScript standard functions is great. I've never encountered a problem with them. It feels professional, complete, fully covered. With DOM-related declarations I feel the opposite is true - I don't stop finding problems and seeing bug reports. It simply feels like an unfinished job, and I'm very much afraid of making use of it or recommending it to anybody.
PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.
For PRs, please see examples.
@mhegazy
@RyanCavanaugh
I fixed this issue! Please confirm 馃檱
Regardless of the technical aspect, I am still interested in getting some kind of answer to the questions above.
Most helpful comment
Regardless of the technical aspect, I am still interested in getting some kind of answer to the questions above.