12 lines
No EOL
356 B
Text
12 lines
No EOL
356 B
Text
tests/cases/compiler/propertyAccessibility1.ts(5,1): error TS2341: Property 'Foo.privProp' is inaccessible.
|
|
|
|
|
|
==== tests/cases/compiler/propertyAccessibility1.ts (1 errors) ====
|
|
class Foo {
|
|
private privProp = 0;
|
|
}
|
|
var f = new Foo();
|
|
f.privProp;
|
|
~~~~~~~~~~
|
|
!!! error TS2341: Property 'Foo.privProp' is inaccessible.
|
|
|