12 lines
No EOL
284 B
Text
12 lines
No EOL
284 B
Text
==== tests/cases/compiler/privateAccessInSubclass1.ts (1 errors) ====
|
|
class Base {
|
|
private options: any;
|
|
}
|
|
|
|
class D extends Base {
|
|
myMethod() {
|
|
this.options;
|
|
~~~~~~~~~~~~
|
|
!!! Property 'Base.options' is inaccessible.
|
|
}
|
|
} |