Skip to content

Commit

Permalink
Run tsc on test files (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Max10240 authored Aug 14, 2024
1 parent 95b3c50 commit 32af6a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"build": "del-cli distribution && tsc",
"test": "xo && ava && npm run build",
"test": "xo && ava && tsc --project test && npm run build",
"prepack": "npm run build"
},
"files": [
Expand Down
7 changes: 7 additions & 0 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "@sindresorhus/tsconfig",
"include": ["."],
"compilerOptions": {
"noEmit": true
}
}

0 comments on commit 32af6a3

Please sign in to comment.