We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ad54b commit 15f2f04Copy full SHA for 15f2f04
tests/cases/compiler/warnExperimentalBigIntLiteral.ts
@@ -1,7 +1,8 @@
1
-// @target: esnext
+// @target: es3
2
3
const normalNumber = 123; // should not error
4
let bigintType: bigint; // should not error
5
let bigintLiteralType: 123n; // should not error when used as type
6
let bigintNegativeLiteralType: -123n; // should not error when used as type
7
-const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
+const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
8
+
0 commit comments