【发布时间】:2020-10-23 21:25:10
【问题描述】:
我正在尝试在我的代码中实现这个 Stackblitz example 的 angular-upload-file-with-progress-bar
export class UploadDocumentTemplateComponent extends FieldType {}
我有这条线,因为它我收到了这个错误
错误 TS2377:派生类的构造函数必须包含“超级”调用。
如何解决这个问题?
【问题讨论】:
-
这就是
UploadDocumentTemplateComponent的所有代码吗?
标签: angular typescript inheritance constructor angular7