How to fix Angular error TS2552: Cannot find name 'Input'. Did you mean 'oninput'?
Problem:
You see the following error message while compiling your angular application:
Error: src/app/my/my.component.ts:9:4 - error TS2552: Cannot find name 'Input'. Did you mean 'oninput'?
Solution
Open your module file, e.g. my.component.ts
and add the following line at the top:
import { Input } from '@angular/core';