Angular 10 tries to parse string as typescript code

When using string as input from parent to child component, Angular tries to parse string as TS code and throws error.


This did not happen in Angular 8:

What caused this issue? There is no mention of parser change in Angular 10 release note.

Source: Angular Questions