fix: accept new baselines
This commit is contained in:
Родитель
c0e6ca58d5
Коммит
374fe11191
|
@ -1,11 +1,10 @@
|
|||
interfaceIdentifierAssertionExpressionWithParseError.ts(4,21): error TS1005: '{' expected.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(4,21): error TS2693: 'string' only refers to a type, but is being used as a value here.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(5,14): error TS1005: '{' expected.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(5,14): error TS2693: 'string' only refers to a type, but is being used as a value here.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(3,21): error TS1005: '{' expected.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(3,21): error TS2693: 'string' only refers to a type, but is being used as a value here.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(4,14): error TS1005: '{' expected.
|
||||
interfaceIdentifierAssertionExpressionWithParseError.ts(4,14): error TS2693: 'string' only refers to a type, but is being used as a value here.
|
||||
|
||||
|
||||
==== interfaceIdentifierAssertionExpressionWithParseError.ts (4 errors) ====
|
||||
// These were written with the expectation of parse errors.
|
||||
const interface = 'x';
|
||||
|
||||
interface satisfies string;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
//// [tests/cases/compiler/interfaceIdentifierAssertionExpressionWithParseError.ts] ////
|
||||
|
||||
//// [interfaceIdentifierAssertionExpressionWithParseError.ts]
|
||||
// These were written with the expectation of parse errors.
|
||||
const interface = 'x';
|
||||
|
||||
interface satisfies string;
|
||||
|
@ -9,7 +8,6 @@ interface as string;
|
|||
|
||||
|
||||
//// [interfaceIdentifierAssertionExpressionWithParseError.js]
|
||||
// These were written with the expectation of parse errors.
|
||||
var interface = 'x';
|
||||
string;
|
||||
string;
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
//// [tests/cases/compiler/interfaceIdentifierAssertionExpressionWithParseError.ts] ////
|
||||
|
||||
=== interfaceIdentifierAssertionExpressionWithParseError.ts ===
|
||||
// These were written with the expectation of parse errors.
|
||||
const interface = 'x';
|
||||
>interface : Symbol(interface, Decl(interfaceIdentifierAssertionExpressionWithParseError.ts, 1, 5))
|
||||
>interface : Symbol(interface, Decl(interfaceIdentifierAssertionExpressionWithParseError.ts, 0, 5))
|
||||
|
||||
interface satisfies string;
|
||||
>satisfies : Symbol(satisfies, Decl(interfaceIdentifierAssertionExpressionWithParseError.ts, 1, 22))
|
||||
>satisfies : Symbol(satisfies, Decl(interfaceIdentifierAssertionExpressionWithParseError.ts, 0, 22))
|
||||
|
||||
interface as string;
|
||||
>as : Symbol(as, Decl(interfaceIdentifierAssertionExpressionWithParseError.ts, 3, 27))
|
||||
>as : Symbol(as, Decl(interfaceIdentifierAssertionExpressionWithParseError.ts, 2, 27))
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
//// [tests/cases/compiler/interfaceIdentifierAssertionExpressionWithParseError.ts] ////
|
||||
|
||||
=== interfaceIdentifierAssertionExpressionWithParseError.ts ===
|
||||
// These were written with the expectation of parse errors.
|
||||
const interface = 'x';
|
||||
>interface : "x"
|
||||
> : ^^^
|
||||
|
|
Загрузка…
Ссылка в новой задаче