Skip to content

Commit 465bcc6

Browse files
Accepted baselines.
1 parent 3d11930 commit 465bcc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/baselines/reference/parseBigInt.errors.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
tests/cases/compiler/parseBigInt.ts(51,20): error TS2736: Operator '+' cannot be applied to type '123n'.
2-
tests/cases/compiler/parseBigInt.ts(52,23): error TS2736: Operator '+' cannot be applied to type '291n'.
1+
tests/cases/compiler/parseBigInt.ts(51,20): error TS2736: Operator '+' cannot be applied to type 'bigint'.
2+
tests/cases/compiler/parseBigInt.ts(52,23): error TS2736: Operator '+' cannot be applied to type 'bigint'.
33
tests/cases/compiler/parseBigInt.ts(56,25): error TS1005: ',' expected.
44
tests/cases/compiler/parseBigInt.ts(57,22): error TS1352: A bigint literal cannot use exponential notation.
55
tests/cases/compiler/parseBigInt.ts(58,19): error TS1353: A bigint literal must be an integer.
@@ -70,10 +70,10 @@ tests/cases/compiler/parseBigInt.ts(70,72): error TS2345: Argument of type '3' i
7070
// Plus not allowed on literals
7171
const unaryPlus = +123n;
7272
~~~~
73-
!!! error TS2736: Operator '+' cannot be applied to type '123n'.
73+
!!! error TS2736: Operator '+' cannot be applied to type 'bigint'.
7474
const unaryPlusHex = +0x123n;
7575
~~~~~~
76-
!!! error TS2736: Operator '+' cannot be applied to type '291n'.
76+
!!! error TS2736: Operator '+' cannot be applied to type 'bigint'.
7777

7878
// Parsing errors
7979
// In separate blocks because they each declare an "n" variable

0 commit comments

Comments
 (0)