-
#TerribleIdeas: A #TypeScript definition for
new DOMParser().parseFromString()
which parses the #HTML input, and returns a typedDocument
where all the nodes are strongly typed. new DOMParser().parseFromString('<div></div>').body.firstElementChild; // HTMLDivElement