Closed
Description
There are some issues with the typescript types provided by @types/xmldom
, that are hard to resolve, since they rely on the DOM types provided by typescript:
DefinitelyTyped/DefinitelyTyped#49953
I think the easiest way to resolve that issue and maintain the types is to add doc comments to the code in lib
and generate the types from it.
The main advantage is also that the types don't claim to support APIs that it actually doesn't support, which currently would lead to a runtime error.