W3cubDocs

/Angular

WithProperties

type-alias

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

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/elements/WithProperties