Closed
Description
I have the following structure where I have a class that contains functions nested inside properties and vice versa. Intellisense and therefore referencing is not working when inside a function that resides inside a property of the class. Is there a way to solve this sort of issue so that I can reference myThirdProp
inside mySecondFunc
?
export class a {
myProperty = 'hello';
myFunc() {
this.myProperty; //referencing and intellisense available
}
mySecondProp: Object = {
myThirdProp: 'hello2',
mySecondFunc() {
this. //no intellisense/reference here
}
}
}