export class IceCreamComponent {
@Emoji()
flavor = 'vanilla';
}
// Property Decorator
function Emoji() {
return function(target: Object, key: string | symbol) {
let val = target[key];
const getter = () => {
return val;
};
const setter = (next:any) => {
console.log('updating flavor...');
val = `