Skip to content

Commit

Permalink
improve typecheck exclusions
Browse files Browse the repository at this point in the history
The declarations files are only necessary for checking test code.
  • Loading branch information
wydengyre committed Jan 26, 2024
1 parent fe67f46 commit 65cf1e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cf/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"compilerOptions": {
"types": ["@cloudflare/workers-types"]
},
"include": ["*.ts", "../lib/declarations.d.ts"],
"include": ["*.ts"],
"exclude": ["*.test.ts"]
}
2 changes: 1 addition & 1 deletion lib/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"types": []
},
"include": ["*.ts"],
"exclude": ["*.test.ts"]
"exclude": ["*.test.ts", "declarations.d.ts"]
}

0 comments on commit 65cf1e5

Please sign in to comment.