Skip to content

Commit 827b5cc

Browse files
authored
Merge pull request #17 from sparingsoftware/fix/root-directory
fix: Add separate tsconfig for test directory
2 parents 52079b7 + 8974563 commit 827b5cc

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

test/tsconfig.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"compilerOptions": {
3+
"strict": true,
4+
"target": "es2022",
5+
"module": "NodeNext",
6+
"moduleResolution": "NodeNext",
7+
"noUncheckedIndexedAccess": true,
8+
"isolatedModules": true,
9+
"esModuleInterop": true,
10+
"sourceMap": true,
11+
"declaration": true,
12+
"skipLibCheck": true,
13+
"allowJs": true
14+
}
15+
}

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"compilerOptions": {
33
"strict": true,
44
"outDir": "dist",
5+
"rootDir": "src",
56
"target": "es2022",
67
"module": "NodeNext",
78
"moduleResolution": "NodeNext",
@@ -13,5 +14,6 @@
1314
"skipLibCheck": true,
1415
"allowJs": true
1516
},
17+
"include": ["src/**/*"],
1618
"exclude": ["node_modules", "templates"]
1719
}

0 commit comments

Comments
 (0)