为什么我会收到此错误?
以下代码在另一个应用程序中有效
<input class="form-control form-control-sm" type="number" min="0"
[formControl]='invoiceForm.get("quantity")'>
Run Code Online (Sandbox Code Playgroud)
在这个新应用程序中它也可以工作,但仍然在终端中抱怨
Type 'AbstractControl' is not assignable to type 'FormControl'.
Run Code Online (Sandbox Code Playgroud)