mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
git rm file; not sure how we missed that.
This commit is contained in:
parent
cd5928a980
commit
624fdcb0bd
@ -1,22 +0,0 @@
|
||||
tests/cases/compiler/warnExperimentalBigIntLiteral.ts(5,22): error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
tests/cases/compiler/warnExperimentalBigIntLiteral.ts(5,29): error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
tests/cases/compiler/warnExperimentalBigIntLiteral.ts(5,39): error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
tests/cases/compiler/warnExperimentalBigIntLiteral.ts(5,48): error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
|
||||
|
||||
==== tests/cases/compiler/warnExperimentalBigIntLiteral.ts (4 errors) ====
|
||||
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
|
||||
~~~~
|
||||
!!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
~~~~~~~
|
||||
!!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
~~~~~~
|
||||
!!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
~~~~~
|
||||
!!! error TS2737: BigInt literals are not available when targeting lower than ESNext.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user