Skip to content

Commit c6aab46

Browse files
henrymercerCopilot
andcommitted
fix(tsconfig): include node types so find-deadcode compiles under TypeScript 6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5379a6f commit c6aab46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
4444
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
4545
// "typeRoots": [], /* List of folders to include type definitions from. */
46-
// "types": [], /* Type declaration files to be included in compilation. */
46+
"types": ["node"], /* Type declaration files to be included in compilation. */
4747
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
4848
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
4949
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */

0 commit comments

Comments
 (0)