I have this statement in my angular 4 component methods
private valueChanges: any;
ngOnInit() {
this.valueChanges = this.form.valueChanges.subscribe(console.log);
}
so just want to know what will be the typing of valueChanges
variable currently set any
which one is correct?
valueChanes: Observable;
valueChanges: Subject;
valueChanges: Subscription;