Skip to content

Commit 15f2f04

Browse files
Updated test case.
1 parent f7ad54b commit 15f2f04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// @target: esnext
1+
// @target: es3
22

33
const normalNumber = 123; // should not error
44
let bigintType: bigint; // should not error
55
let bigintLiteralType: 123n; // should not error when used as type
66
let bigintNegativeLiteralType: -123n; // should not error when used as type
7-
const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
7+
const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
8+

0 commit comments

Comments
 (0)