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

WithProperties

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]; };
      
      type WithProperties<P> = {
    [property in keyof P]: P[property];
};