pdf.js/test/types/tsconfig.json
Christophe Coevoet 93a5fa5b88
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.
2025-02-21 14:10:35 +01:00

22 lines
503 B
JSON

{
"compilerOptions": {
"outDir": "../../build/tmp",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node10",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "ESNext",
"module": "ESNext",
"baseUrl": "./",
"strict": true,
"types": [],
"lib": ["ESNext", "DOM"],
"paths": {
"pdfjs-dist": ["../../build/typestest"],
"pdfjs-dist/*": ["../../build/typestest/*"]
}
},
"exclude": ["node_modules"]
}