Revise tsconfig.json#63
Conversation
| "typeRoots": ["node_modules/@types", "src/types"] | ||
| // Additional Options Added | ||
| // "isolatedDeclarations": true, | ||
| "moduleResolution": "Bundler", |
There was a problem hiding this comment.
moduleResolution should have been Bundler since the migration to Bun.
There was a problem hiding this comment.
Maybe it should have been so all the way back when "moduleResolution": "Bundler" was a thing (that's Typescript 5.0 btw), as we've been using a bundler all the time 😂
|
|
||
| "lib": ["es2023"], | ||
| "types": [], | ||
| "typeRoots": ["node_modules/@types", "src/types"] |
There was a problem hiding this comment.
What is src/types for? Is it legacy?
|
39b33e0 is an alternative solution to fc60589 and it entirely skips visible TypeScript transpilation of test files. Without the commit, the project doesn't build correctly, so it was included as part of the PR. |
cfa4326 to
b51bc80
Compare
Removed a few unnecessary options and combined with the new official template
8568f78 to
23def62
Compare
Suppress output if there are type errors since the type checking and emitting process for the test files is abolished
23def62 to
309e3c7
Compare
There are quite some redundant options that make the file hard to read, so I replaced it with the new official template with some additions.
Partially depends on #62. Do not merge this before merging #62.