Help Angular by taking a 1 minute survey!Go to surveyHome

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];
};