問題:
Angular アプリケーションをコンパイルする際に、次のエラーメッセージが表示されます:
error.txt
Error: src/app/my/my.component.ts:9:4 - error TS2552: Cannot find name 'Input'. Did you mean 'oninput'?解決策
モジュールファイル(例: my.component.ts)を開き、先頭に次の行を追加します:
my.component.ts
import { Input } from '@angular/core';
同じカテゴリの類似記事をチェック:
Angular TypeScript
この記事が役に立った場合は、TechOverflow での新しい記事の調査と公開を支援するため、「Buy Me a Coffee」でのご支援、または PayPal 経由でのご寄付をご検討ください