mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
"module": "ESNext",
|
||||
"baseUrl": "./",
|
||||
"strict": true,
|
||||
"types": ["node"],
|
||||
"types": [],
|
||||
"lib": ["ESNext", "DOM"],
|
||||
"paths": {
|
||||
"pdfjs-dist": ["../../build/typestest"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue