Skip to content

Commit

Permalink
Exclude .d.ts files from nyc
Browse files Browse the repository at this point in the history
This fixes "TypeError: Unable to require `.d.ts` file." from ts-node

See also istanbuljs/nyc#504
  • Loading branch information
Yogu committed Jan 26, 2018
1 parent 60078b3 commit 72e6757
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"src/**/*.d.ts"
],
"extension": [
".ts"
],
Expand Down

0 comments on commit 72e6757

Please sign in to comment.