I've come across some older Typescript code that parses through XML documents. It often references Nodes and their attributes, like so:
var attribs = node.attributes;
Recently, with the updated TS version (2.8.1), I've noticed this 'attributes' property has been removed as part of a breaking change. Why was it excluded and what alternatives exist?
As a workaround, I'm currently using this method:
var attribs = node['attributes'];