Wie man Angular-Fehler TS2552 behebt: Cannot find name 'Input'. Did you mean 'oninput'?
Problem:
Sie sehen die folgende Fehlermeldung beim Kompilieren Ihrer Angular-Anwendung:
error.txt
Error: src/app/my/my.component.ts:9:4 - error TS2552: Cannot find name 'Input'. Did you mean 'oninput'?Lösung
Öffnen Sie Ihre Moduldatei, z.B. my.component.ts und fügen Sie die folgende Zeile oben hinzu:
my.component.ts
import { Input } from '@angular/core';Check out similar posts by category:
Angular, Typescript
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow