Closed bobappleyard closed 7 years ago
I assume I should place this issue with the TSJS-lib-generator. Sorry.
So TSJS-lib-generator says to raise the issue here.
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.
Microsoft/TSJS-lib-generator#205 should fix this
The declaration of DOMImplementation in lib.d.ts includes the method:
However, according to the DOM Specification the doctype parameter can be
null
. This accords with almost every use of this method that I have ever seen in JavaScript code.