mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-08 02:46:15 -05:00
Fixed up flags on test cases and stray newline.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// @target: esnext
|
||||
// @experimentalBigInt: true
|
||||
|
||||
// @filename: a.ts
|
||||
interface BigIntIndex<E> {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// @experimentalBigInt: true
|
||||
// @target: esnext
|
||||
// @declaration: true
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// @experimentalBigInt: true
|
||||
// @target: es5
|
||||
|
||||
// Every line should error because these builtins are not declared
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// @experimentalBigInt: true
|
||||
// @target: esnext
|
||||
|
||||
// Cannot mix bigints and numbers
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// @experimentalBigInt: true
|
||||
// @target: esnext
|
||||
|
||||
// All bases should allow "n" suffix
|
||||
|
||||
@@ -5,4 +5,3 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user