Skip to content

Commit 10e8973

Browse files
committed
fix: update kleros-app tsconfig.check.json to include root ts/tsx files in type checking
1 parent 2597fde commit 10e8973

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

kleros-app/tsconfig.check.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
/*
2-
* This file simple extends the default config, but adds the src directory to the include list.
2+
* This file simple extends the default config, but adds the src directory and any ts/tsx files in root to the include list.
33
* This way check-types can look at both the src and lib folders, but vite can still use the original config
44
* and only look at the lib directory when building the package.
55
*/
66
{
77
"extends": "./tsconfig.json",
88
"include": [
9-
"src/**/*"
9+
"src/**/*",
10+
"**/*.ts",
11+
"**/*.tsx",
1012
]
1113
}

0 commit comments

Comments
 (0)