填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

WithProperties

可以添加到 NgElement 类的其他类型信息,用于基于基础组件的输入和方法添加的属性。

Additional type information that can be added to the NgElement class, for properties that are added based on the inputs and methods of the underlying component.

      
      type WithProperties<P> = {
    [property in keyof P]: P[property];
};