Let's say we have a key 'abc' with the value of 'true'. It should be possible to access 'this.abc' and expect it to return true.
Class A {
public someFun(){
this.external.getData().subscribe((externalStream: Array<someType>) => {
for(let i:number = 0; i < externalStream.length; i++){
console.info(externalStream[i].key); // The intention is for this to refer to a class variable
console.info(externalStream[i].value); // This value should correspond to the variable above
}
})
}
}