Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 38cf2ea

Browse files
author
Hendrik van Antwerpen
committed
Add test for tsconfig with non-empty project name
1 parent c783935 commit 38cf2ea

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* --- path: ./tsconfig.json --- */
2+
/* --- global: PROJECT_NAME=a --- */
3+
{
4+
"compilerOptions": {
5+
"composite": true,
6+
"baseUrl": "./src/",
7+
}
8+
}
9+
10+
/* --- path: ./src/foo.ts --- */
11+
/* --- global: PROJECT_NAME=a --- */
12+
export const bar = 42;
13+
14+
/* --- path: ./src/index.ts --- */
15+
/* --- global: PROJECT_NAME=a --- */
16+
import { bar } from "foo";
17+
// ^ defined: 12

0 commit comments

Comments
 (0)