Skip to content

Commit 4abf717

Browse files
committed
Accepting new baselines
1 parent dc8ab95 commit 4abf717

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: tests/baselines/reference/interfaceImplementation5.errors.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
tests/cases/compiler/interfaceImplementation5.ts(5,7): error TS2420: Class 'C1' incorrectly implements interface 'I1'.
2-
Property 'getset1' is read-only in type 'C1' but read-write in type 'I1'.
2+
Property 'getset1' is read-only in type 'C1' but writable in type 'I1'.
33
tests/cases/compiler/interfaceImplementation5.ts(6,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
44
tests/cases/compiler/interfaceImplementation5.ts(10,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
55
tests/cases/compiler/interfaceImplementation5.ts(14,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
66
tests/cases/compiler/interfaceImplementation5.ts(15,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
77
tests/cases/compiler/interfaceImplementation5.ts(18,7): error TS2420: Class 'C4' incorrectly implements interface 'I1'.
8-
Property 'getset1' is read-only in type 'C4' but read-write in type 'I1'.
8+
Property 'getset1' is read-only in type 'C4' but writable in type 'I1'.
99
tests/cases/compiler/interfaceImplementation5.ts(19,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
1010
tests/cases/compiler/interfaceImplementation5.ts(23,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
1111
tests/cases/compiler/interfaceImplementation5.ts(27,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
@@ -20,7 +20,7 @@ tests/cases/compiler/interfaceImplementation5.ts(28,16): error TS1056: Accessors
2020
class C1 implements I1 {
2121
~~
2222
!!! error TS2420: Class 'C1' incorrectly implements interface 'I1'.
23-
!!! error TS2420: Property 'getset1' is read-only in type 'C1' but read-write in type 'I1'.
23+
!!! error TS2420: Property 'getset1' is read-only in type 'C1' but writable in type 'I1'.
2424
public get getset1(){return 1;}
2525
~~~~~~~
2626
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
@@ -44,7 +44,7 @@ tests/cases/compiler/interfaceImplementation5.ts(28,16): error TS1056: Accessors
4444
class C4 implements I1 {
4545
~~
4646
!!! error TS2420: Class 'C4' incorrectly implements interface 'I1'.
47-
!!! error TS2420: Property 'getset1' is read-only in type 'C4' but read-write in type 'I1'.
47+
!!! error TS2420: Property 'getset1' is read-only in type 'C4' but writable in type 'I1'.
4848
public get getset1(){var x:any; return x;}
4949
~~~~~~~
5050
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.

0 commit comments

Comments
 (0)