Angular 4 "Property does not exist on type component"
By : Vermal Wa
Date : October 17 2020, 03:08 PM
it should still fix some issue Here's a plunker showing your thing working in an Angular environment. This isn't a good way to accomplish what you're trying to do. Instead, you should do something like this better plunker that I made that actually uses Angular to its full potential.
this.myDate = new Date();
Property 'Y' does not exist on type "'Component name'" in AOT build
By : Glei
Date : March 29 2020, 07:55 AM
I hope this helps . You bind the value of Y property to the EXAMPLE1 and EXAMPLE2. And you don't have that property, so the error is correct. You need to bind either "'Y'" as string or remove the  part from the properties.