Open ghost opened 7 years ago
@ghost, add this options to your compilerOptions:
"lib": [
"es5",
"es6",
"es2016",
"dom"
],
@koldoon that brings in a bunch of incorrect typings though.
It says a whole bunch of things exist on the global object (name, alert, blur, etc.) that do not.
And then I loose type safety.
Since the types for this project are not maintained here but in https://github.com/DefinitelyTyped/DefinitelyTyped this one should be closed as it has been reported as https://github.com/DefinitelyTyped/DefinitelyTyped/issues/26745
(Maintenance has been picked up for the project in https://github.com/xmldom/xmldom, so there is a chance that stuff get's fixed at some point.)
PS: I files a PR with a fix today and it can also be used as a workaround
Hi there, I got this error when compiling:
tsconfig.json
David