mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
fix(@types/xmldom): Move dom from tsconfig to index.d.ts (#45752)
By adding `/// <reference lib="dom" />` to the type definition [as described in the handbook](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-lib-) it's no longer required to add `"lib":[...,"dom"]` to the `tsconfig.json` I also added myself as a maintainer of these types and fixed the project location to the maintained one. fixes #26745 https://github.com/xmldom/xmldom
This commit is contained in:
parent
49f15ae107
commit
433cf7ea6f
5
types/xmldom/index.d.ts
vendored
5
types/xmldom/index.d.ts
vendored
@ -1,8 +1,9 @@
|
||||
// Type definitions for xmldom 0.1.22
|
||||
// Project: https://github.com/jindw/xmldom.git
|
||||
// Project: https://github.com/xmldom/xmldom
|
||||
// Definitions by: Qubo <https://github.com/tkqubo>
|
||||
// Karfau <https://github.com/karfau>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference lib="dom" />
|
||||
|
||||
declare namespace xmldom {
|
||||
var DOMParser: DOMParserStatic;
|
||||
|
||||
@ -2,8 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user