diff --git a/tests/baselines/reference/interfaceImplementation5.errors.txt b/tests/baselines/reference/interfaceImplementation5.errors.txt index aba0c9f8850..bb2d5f1bdb0 100644 --- a/tests/baselines/reference/interfaceImplementation5.errors.txt +++ b/tests/baselines/reference/interfaceImplementation5.errors.txt @@ -1,11 +1,11 @@ tests/cases/compiler/interfaceImplementation5.ts(5,7): error TS2420: Class 'C1' incorrectly implements interface 'I1'. - Property 'getset1' is read-only in type 'C1' but read-write in type 'I1'. + Property 'getset1' is read-only in type 'C1' but writable in type 'I1'. tests/cases/compiler/interfaceImplementation5.ts(6,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. tests/cases/compiler/interfaceImplementation5.ts(10,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. tests/cases/compiler/interfaceImplementation5.ts(14,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. tests/cases/compiler/interfaceImplementation5.ts(15,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. tests/cases/compiler/interfaceImplementation5.ts(18,7): error TS2420: Class 'C4' incorrectly implements interface 'I1'. - Property 'getset1' is read-only in type 'C4' but read-write in type 'I1'. + Property 'getset1' is read-only in type 'C4' but writable in type 'I1'. tests/cases/compiler/interfaceImplementation5.ts(19,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. tests/cases/compiler/interfaceImplementation5.ts(23,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher. 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 class C1 implements I1 { ~~ !!! error TS2420: Class 'C1' incorrectly implements interface 'I1'. -!!! error TS2420: Property 'getset1' is read-only in type 'C1' but read-write in type 'I1'. +!!! error TS2420: Property 'getset1' is read-only in type 'C1' but writable in type 'I1'. public get getset1(){return 1;} ~~~~~~~ !!! 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 class C4 implements I1 { ~~ !!! error TS2420: Class 'C4' incorrectly implements interface 'I1'. -!!! error TS2420: Property 'getset1' is read-only in type 'C4' but read-write in type 'I1'. +!!! error TS2420: Property 'getset1' is read-only in type 'C4' but writable in type 'I1'. public get getset1(){var x:any; return x;} ~~~~~~~ !!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.