0

After "yarn eject" from a create-react-app fresh made app, I see this line:

// jest section:
"collectCoverageFrom": [
  "src/**/*.{js,jsx,ts,tsx}",
  "!src/**/*.d.ts"
],

What does exclamation mark means here, does it mean "not"? what purpose? to not to run typescript as test?

"!src/**/*.d.ts"
skyboyer
  • 22,209
  • 7
  • 57
  • 64
Ariam1
  • 1,673
  • 2
  • 13
  • 32
  • 2
    to filter out *.d.ts files, it's a config file => https://stackoverflow.com/questions/21247278/about-d-ts-in-typescript – Aleks May 19 '19 at 23:22
  • Check [rewire](https://github.com/timarney/react-app-rewired) to avoid eject, may be you found it appropriate – oklas Mar 09 '20 at 17:25

0 Answers0