Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when tsconfig uses both include and files #76

Open
jamestowers opened this issue Dec 22, 2020 · 1 comment
Open

Issues when tsconfig uses both include and files #76

jamestowers opened this issue Dec 22, 2020 · 1 comment
Labels
bug Something isn't working fixed and released

Comments

@jamestowers
Copy link

This is a great package, we are using it as part of the ts-coverage-report package but are hitting an issue duie to our unusual tsconfig setup.

Ours makes use of both includes and files and it seems this line prevents you from using both - one overwrites the other.

Here's our tsconfig:

{
  "extends": "tools/config/tsconfig.json",
  "files": [
    "node_modules/@testing-library/jest-dom/extend-expect.d.ts",
    "node_modules/tools/config/declarations.d.ts"
  ],
  "include": ["app"],
  "exclude": ["node_modules"],
  "compilerOptions": {
    "baseUrl": "app",
    "skipLibCheck": true,
  }
}

I get no results with the above but if I remove the files property things work as expected.

is it possible to merge the results of files and includes?

@plantain-00
Copy link
Owner

v2.14.7 should fix this.

@plantain-00 plantain-00 added bug Something isn't working fixed and released labels Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed and released
Projects
None yet
Development

No branches or pull requests

2 participants