Skip to content

Commit 1257257

Browse files
committed
fix comment text
1 parent a6fdad1 commit 1257257

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/baselines/reference/classWithProtectedProperty.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//// [classWithProtectedProperty.ts]
2-
// accessing any private outside the class is an error
2+
// accessing any protected outside the class is an error
33

44
class C {
55
protected x;
@@ -28,7 +28,7 @@ class D extends C {
2828
}
2929

3030
//// [classWithProtectedProperty.js]
31-
// accessing any private outside the class is an error
31+
// accessing any protected outside the class is an error
3232
var __extends = this.__extends || function (d, b) {
3333
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
3434
function __() { this.constructor = d; }

tests/baselines/reference/classWithProtectedProperty.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=== tests/cases/conformance/types/members/classWithProtectedProperty.ts ===
2-
// accessing any private outside the class is an error
2+
// accessing any protected outside the class is an error
33

44
class C {
55
>C : C

tests/cases/conformance/types/members/classWithProtectedProperty.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// accessing any private outside the class is an error
1+
// accessing any protected outside the class is an error
22

33
class C {
44
protected x;

0 commit comments

Comments
 (0)