Skip to content

Commit 6deb9cd

Browse files
committed
Add test for incremental with --tsbuildinfo file without specifying --out or config
1 parent a4091ae commit 6deb9cd

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//// [a.ts]
2+
const x = 10;
3+
4+
5+
6+
7+
//// [a.js]
8+
var x = 10;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
=== /a.ts ===
2+
const x = 10;
3+
>x : Symbol(x, Decl(a.ts, 0, 5))
4+
5+
6+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
=== /a.ts ===
2+
const x = 10;
3+
>x : 10
4+
>10 : 10
5+
6+
7+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// @incremental: true
2+
// @tsBuildInfoFile: /a.tsbuildinfo
3+
4+
5+
// @Filename: /a.ts
6+
const x = 10;
7+
8+

0 commit comments

Comments
 (0)