`tsconfig.json` exclude not respected
Here is my config:
{
"compilerOptions": {
"target": "es2015",
"skipLibCheck": true,
"exclude": [
"fixture/*.ts"
]
}
}
when I run check-dts test/** I see lots of errors inside fixture files:
How to exclude it? I want check only test directory, could you please help me?
Sorry, you need to debug and suggest solution on your own. I am busy on other project.
Here is relevant code https://github.com/ai/check-dts/blob/main/check.js
I see fileNames property:
https://github.com/ai/check-dts/blob/ac6b8eea081e55156f11af253e4b7723ce3943a9/check.js#L112
But that is not valid property name for tsconfig, maybe some additional check should be added so exclude worked properly
You can open this source in your node_module add console.log or call debugger.