I wonder why I get this compile error if I declare variable with var or let keywords? I mean, this goes well:
export class AppComponent {
refreshClickStream$: any;
constructor(){
}
While this brings the error:
export class AppComponent {
var refreshClickStream$: any;
constructor(){
}