From 15f2f047f8e1d28d004fcc5c0772dff94c45582d Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 9 Nov 2018 16:21:06 -0800 Subject: [PATCH] Updated test case. --- tests/cases/compiler/warnExperimentalBigIntLiteral.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/cases/compiler/warnExperimentalBigIntLiteral.ts b/tests/cases/compiler/warnExperimentalBigIntLiteral.ts index c59bff0696e..6b09bf51241 100644 --- a/tests/cases/compiler/warnExperimentalBigIntLiteral.ts +++ b/tests/cases/compiler/warnExperimentalBigIntLiteral.ts @@ -1,7 +1,8 @@ -// @target: esnext +// @target: es3 const normalNumber = 123; // should not error let bigintType: bigint; // should not error let bigintLiteralType: 123n; // should not error when used as type let bigintNegativeLiteralType: -123n; // should not error when used as type -const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error \ No newline at end of file +const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error +