Disable the loading of node types in the type tests
Those type tests are performing type checking on a project using DOM APIs, intended to reflect the usage in a non-node project. Not loading the node types in that project ensures that the library type declarations don't force a dependency on the node types.
This commit is contained in:
parent
e3ea92603d
commit
93a5fa5b88
@ -10,7 +10,7 @@
|
|||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"types": ["node"],
|
"types": [],
|
||||||
"lib": ["ESNext", "DOM"],
|
"lib": ["ESNext", "DOM"],
|
||||||
"paths": {
|
"paths": {
|
||||||
"pdfjs-dist": ["../../build/typestest"],
|
"pdfjs-dist": ["../../build/typestest"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user