Although I have seen similar questions on this topic, my issue is unique. I have checked my class and am using it in the same way as others who have encountered similar problems. I extended class A into class B, but for some reason I cannot access A's public properties in B. Here is a simplified version of my code:
export class A {
propertyA: string;
constructor() {
this.propertyA = "some text";
}
}
import {A} from "./A";
export class B extends A {
constructor() {
super();
}
static method() {
console.log(this.propertyA);
}
}