The following code will throw an error only for the name property. It could be fixed by specifying name property as writable in Object.create
name
Object.create
If you get this error in Angular+TypeScript:
WRONG / INVALID:
@Output whatever_var = new EventEmitter();
GOOD / CORRECT:
@Output() whatever_var = new EventEmitter();