Skip to content

Commit 651696b

Browse files
committed
[hygiene] Prevent TS restart requirement for tests
1 parent 3c96a95 commit 651696b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"typeRoots": ["../node_modules/@types"],
1212
"moduleResolution": "node",
1313
"allowSyntheticDefaultImports": true,
14-
"types": ["node"]
14+
"types": ["node"],
15+
"composite": true
1516
}
1617
}

test/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"http-server"
2020
],
2121
"skipLibCheck": true
22-
}
22+
},
23+
"references": [{"path": "../src"}]
2324
}

0 commit comments

Comments
 (0)