Skip to content

Commit 8d9356f

Browse files
committed
Accept additional baselines
1 parent 03f8403 commit 8d9356f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/nodeModulesMaxDepthExceeded.errors.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
maxDepthExceeded/root.ts(3,1): error TS2322: Type '"10"' is not assignable to type 'number'.
2-
maxDepthExceeded/root.ts(4,1): error TS2322: Type '42' is not assignable to type 'true'.
2+
maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it is a constant or a read-only property.
33

44

55
==== entry.js (0 errors) ====
@@ -36,8 +36,8 @@ maxDepthExceeded/root.ts(4,1): error TS2322: Type '42' is not assignable to type
3636
~~~~~~~
3737
!!! error TS2322: Type '"10"' is not assignable to type 'number'.
3838
m1.rel = 42; // Error: Should be boolean
39-
~~~~~~
40-
!!! error TS2322: Type '42' is not assignable to type 'true'.
39+
~~~
40+
!!! error TS2540: Cannot assign to 'rel' because it is a constant or a read-only property.
4141

4242
m1.f2.person.age = "10"; // OK if stopped at 2 modules: person will be "any".
4343

tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/nodeModulesMaxDepthExceeded.errors.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
maxDepthExceeded/root.ts(3,1): error TS2322: Type '"10"' is not assignable to type 'number'.
2-
maxDepthExceeded/root.ts(4,1): error TS2322: Type '42' is not assignable to type 'true'.
2+
maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it is a constant or a read-only property.
33

44

55
==== entry.js (0 errors) ====
@@ -36,8 +36,8 @@ maxDepthExceeded/root.ts(4,1): error TS2322: Type '42' is not assignable to type
3636
~~~~~~~
3737
!!! error TS2322: Type '"10"' is not assignable to type 'number'.
3838
m1.rel = 42; // Error: Should be boolean
39-
~~~~~~
40-
!!! error TS2322: Type '42' is not assignable to type 'true'.
39+
~~~
40+
!!! error TS2540: Cannot assign to 'rel' because it is a constant or a read-only property.
4141

4242
m1.f2.person.age = "10"; // OK if stopped at 2 modules: person will be "any".
4343

0 commit comments

Comments
 (0)