-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
ExternalRelates to another program, environment, or user action which we cannot control.Relates to another program, environment, or user action which we cannot control.
Description
Code
import {Component, OnInit} from '@angular/core';
@component({
selector: 'app-servers',
template: './servers.component.html',
styleUrls: ['./servers.component.css']
})
export class ServersComponent implements OnInit {
private allowNewServer: boolean = false;
constructor() {
setTimeout(() => {
this.allowNewServer = true;
}, 2000);
}
ngOnInit() {
}
}
// A *self-contained* demonstration of the problem follows...
See [screenshot](url
)
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.Expected behavior:
Typescript Error message that I'm using a private variable
Actual behavior:
No Warning
Metadata
Metadata
Assignees
Labels
ExternalRelates to another program, environment, or user action which we cannot control.Relates to another program, environment, or user action which we cannot control.
