我strictTemplates:true在 HTML 模板中设置并使用了以下内容
<textarea matInput matAutosizeMaxRows="4" matTextareaAutosize="true"
Run Code Online (Sandbox Code Playgroud)
我从编译器收到
error TS2322: Type 'string' is not assignable to type 'number'.
error TS2322: Type 'string' is not assignable to type 'boolean'.
Run Code Online (Sandbox Code Playgroud)
但是如何在 HTML 模板中正确设置它(以避免错误)?