@@ -2,18 +2,18 @@ tests/cases/compiler/bigintWithoutLib.ts(4,25): error TS2304: Cannot find name '
2
2
tests/cases/compiler/bigintWithoutLib.ts(5,13): error TS2304: Cannot find name 'BigInt'.
3
3
tests/cases/compiler/bigintWithoutLib.ts(6,5): error TS2304: Cannot find name 'BigInt'.
4
4
tests/cases/compiler/bigintWithoutLib.ts(7,13): error TS2304: Cannot find name 'BigInt'.
5
- tests/cases/compiler/bigintWithoutLib.ts(7,30): error TS2737: BigInt literals are not available when targetting lower than ESNext.
5
+ tests/cases/compiler/bigintWithoutLib.ts(7,30): error TS2737: BigInt literals are not available when targeting lower than ESNext.
6
6
tests/cases/compiler/bigintWithoutLib.ts(8,13): error TS2304: Cannot find name 'BigInt'.
7
- tests/cases/compiler/bigintWithoutLib.ts(8,31): error TS2737: BigInt literals are not available when targetting lower than ESNext.
7
+ tests/cases/compiler/bigintWithoutLib.ts(8,31): error TS2737: BigInt literals are not available when targeting lower than ESNext.
8
8
tests/cases/compiler/bigintWithoutLib.ts(9,1): error TS2322: Type 'Object' is not assignable to type 'bigint'.
9
9
tests/cases/compiler/bigintWithoutLib.ts(11,13): error TS2554: Expected 0 arguments, but got 1.
10
10
tests/cases/compiler/bigintWithoutLib.ts(15,18): error TS2304: Cannot find name 'BigInt64Array'.
11
11
tests/cases/compiler/bigintWithoutLib.ts(15,38): error TS2552: Cannot find name 'BigInt64Array'. Did you mean 'bigIntArray'?
12
12
tests/cases/compiler/bigintWithoutLib.ts(16,19): error TS2552: Cannot find name 'BigInt64Array'. Did you mean 'bigIntArray'?
13
13
tests/cases/compiler/bigintWithoutLib.ts(17,19): error TS2552: Cannot find name 'BigInt64Array'. Did you mean 'bigIntArray'?
14
- tests/cases/compiler/bigintWithoutLib.ts(17,34): error TS2737: BigInt literals are not available when targetting lower than ESNext.
15
- tests/cases/compiler/bigintWithoutLib.ts(17,38): error TS2737: BigInt literals are not available when targetting lower than ESNext.
16
- tests/cases/compiler/bigintWithoutLib.ts(17,42): error TS2737: BigInt literals are not available when targetting lower than ESNext.
14
+ tests/cases/compiler/bigintWithoutLib.ts(17,34): error TS2737: BigInt literals are not available when targeting lower than ESNext.
15
+ tests/cases/compiler/bigintWithoutLib.ts(17,38): error TS2737: BigInt literals are not available when targeting lower than ESNext.
16
+ tests/cases/compiler/bigintWithoutLib.ts(17,42): error TS2737: BigInt literals are not available when targeting lower than ESNext.
17
17
tests/cases/compiler/bigintWithoutLib.ts(18,19): error TS2552: Cannot find name 'BigInt64Array'. Did you mean 'bigIntArray'?
18
18
tests/cases/compiler/bigintWithoutLib.ts(19,19): error TS2304: Cannot find name 'BigInt64Array'.
19
19
tests/cases/compiler/bigintWithoutLib.ts(20,19): error TS2304: Cannot find name 'BigInt64Array'.
@@ -22,22 +22,22 @@ tests/cases/compiler/bigintWithoutLib.ts(27,19): error TS2304: Cannot find name
22
22
tests/cases/compiler/bigintWithoutLib.ts(27,40): error TS2304: Cannot find name 'BigUint64Array'.
23
23
tests/cases/compiler/bigintWithoutLib.ts(28,20): error TS2304: Cannot find name 'BigUint64Array'.
24
24
tests/cases/compiler/bigintWithoutLib.ts(29,20): error TS2304: Cannot find name 'BigUint64Array'.
25
- tests/cases/compiler/bigintWithoutLib.ts(29,36): error TS2737: BigInt literals are not available when targetting lower than ESNext.
26
- tests/cases/compiler/bigintWithoutLib.ts(29,40): error TS2737: BigInt literals are not available when targetting lower than ESNext.
27
- tests/cases/compiler/bigintWithoutLib.ts(29,44): error TS2737: BigInt literals are not available when targetting lower than ESNext.
25
+ tests/cases/compiler/bigintWithoutLib.ts(29,36): error TS2737: BigInt literals are not available when targeting lower than ESNext.
26
+ tests/cases/compiler/bigintWithoutLib.ts(29,40): error TS2737: BigInt literals are not available when targeting lower than ESNext.
27
+ tests/cases/compiler/bigintWithoutLib.ts(29,44): error TS2737: BigInt literals are not available when targeting lower than ESNext.
28
28
tests/cases/compiler/bigintWithoutLib.ts(30,20): error TS2304: Cannot find name 'BigUint64Array'.
29
29
tests/cases/compiler/bigintWithoutLib.ts(31,20): error TS2304: Cannot find name 'BigUint64Array'.
30
30
tests/cases/compiler/bigintWithoutLib.ts(32,20): error TS2304: Cannot find name 'BigUint64Array'.
31
31
tests/cases/compiler/bigintWithoutLib.ts(33,20): error TS2304: Cannot find name 'BigUint64Array'.
32
32
tests/cases/compiler/bigintWithoutLib.ts(40,10): error TS2339: Property 'setBigInt64' does not exist on type 'DataView'.
33
- tests/cases/compiler/bigintWithoutLib.ts(40,26): error TS2737: BigInt literals are not available when targetting lower than ESNext.
33
+ tests/cases/compiler/bigintWithoutLib.ts(40,26): error TS2737: BigInt literals are not available when targeting lower than ESNext.
34
34
tests/cases/compiler/bigintWithoutLib.ts(41,10): error TS2339: Property 'setBigInt64' does not exist on type 'DataView'.
35
- tests/cases/compiler/bigintWithoutLib.ts(41,26): error TS2737: BigInt literals are not available when targetting lower than ESNext.
35
+ tests/cases/compiler/bigintWithoutLib.ts(41,26): error TS2737: BigInt literals are not available when targeting lower than ESNext.
36
36
tests/cases/compiler/bigintWithoutLib.ts(42,10): error TS2339: Property 'setBigInt64' does not exist on type 'DataView'.
37
37
tests/cases/compiler/bigintWithoutLib.ts(43,10): error TS2339: Property 'setBigUint64' does not exist on type 'DataView'.
38
- tests/cases/compiler/bigintWithoutLib.ts(43,26): error TS2737: BigInt literals are not available when targetting lower than ESNext.
38
+ tests/cases/compiler/bigintWithoutLib.ts(43,26): error TS2737: BigInt literals are not available when targeting lower than ESNext.
39
39
tests/cases/compiler/bigintWithoutLib.ts(44,10): error TS2339: Property 'setBigUint64' does not exist on type 'DataView'.
40
- tests/cases/compiler/bigintWithoutLib.ts(44,26): error TS2737: BigInt literals are not available when targetting lower than ESNext.
40
+ tests/cases/compiler/bigintWithoutLib.ts(44,26): error TS2737: BigInt literals are not available when targeting lower than ESNext.
41
41
tests/cases/compiler/bigintWithoutLib.ts(45,10): error TS2339: Property 'setBigUint64' does not exist on type 'DataView'.
42
42
tests/cases/compiler/bigintWithoutLib.ts(46,22): error TS2339: Property 'getBigInt64' does not exist on type 'DataView'.
43
43
tests/cases/compiler/bigintWithoutLib.ts(47,22): error TS2339: Property 'getBigInt64' does not exist on type 'DataView'.
@@ -62,12 +62,12 @@ tests/cases/compiler/bigintWithoutLib.ts(49,22): error TS2339: Property 'getBigU
62
62
~~~~~~
63
63
!!! error TS2304: Cannot find name 'BigInt'.
64
64
~~~~~~~
65
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
65
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
66
66
bigintVal = BigInt.asUintN(8, 0xFFFFn);
67
67
~~~~~~
68
68
!!! error TS2304: Cannot find name 'BigInt'.
69
69
~~~~~~~
70
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
70
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
71
71
bigintVal = bigintVal.valueOf(); // should error - bigintVal inferred as {}
72
72
~~~~~~~~~
73
73
!!! error TS2322: Type 'Object' is not assignable to type 'bigint'.
@@ -93,11 +93,11 @@ tests/cases/compiler/bigintWithoutLib.ts(49,22): error TS2339: Property 'getBigU
93
93
!!! error TS2552: Cannot find name 'BigInt64Array'. Did you mean 'bigIntArray'?
94
94
!!! related TS2728 tests/cases/compiler/bigintWithoutLib.ts:15:5: 'bigIntArray' is declared here.
95
95
~~
96
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
96
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
97
97
~~
98
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
98
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
99
99
~~
100
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
100
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
101
101
bigIntArray = new BigInt64Array([1, 2, 3]);
102
102
~~~~~~~~~~~~~
103
103
!!! error TS2552: Cannot find name 'BigInt64Array'. Did you mean 'bigIntArray'?
@@ -128,11 +128,11 @@ tests/cases/compiler/bigintWithoutLib.ts(49,22): error TS2339: Property 'getBigU
128
128
~~~~~~~~~~~~~~
129
129
!!! error TS2304: Cannot find name 'BigUint64Array'.
130
130
~~
131
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
131
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
132
132
~~
133
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
133
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
134
134
~~
135
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
135
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
136
136
bigUintArray = new BigUint64Array([1, 2, 3]);
137
137
~~~~~~~~~~~~~~
138
138
!!! error TS2304: Cannot find name 'BigUint64Array'.
@@ -155,25 +155,25 @@ tests/cases/compiler/bigintWithoutLib.ts(49,22): error TS2339: Property 'getBigU
155
155
~~~~~~~~~~~
156
156
!!! error TS2339: Property 'setBigInt64' does not exist on type 'DataView'.
157
157
~~
158
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
158
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
159
159
dataView.setBigInt64(1, -1n, true);
160
160
~~~~~~~~~~~
161
161
!!! error TS2339: Property 'setBigInt64' does not exist on type 'DataView'.
162
162
~~
163
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
163
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
164
164
dataView.setBigInt64(1, -1);
165
165
~~~~~~~~~~~
166
166
!!! error TS2339: Property 'setBigInt64' does not exist on type 'DataView'.
167
167
dataView.setBigUint64(2, 123n);
168
168
~~~~~~~~~~~~
169
169
!!! error TS2339: Property 'setBigUint64' does not exist on type 'DataView'.
170
170
~~~~
171
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
171
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
172
172
dataView.setBigUint64(2, 123n, true);
173
173
~~~~~~~~~~~~
174
174
!!! error TS2339: Property 'setBigUint64' does not exist on type 'DataView'.
175
175
~~~~
176
- !!! error TS2737: BigInt literals are not available when targetting lower than ESNext.
176
+ !!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
177
177
dataView.setBigUint64(2, 123);
178
178
~~~~~~~~~~~~
179
179
!!! error TS2339: Property 'setBigUint64' does not exist on type 'DataView'.
0 commit comments