W3cubDocs

/Angular 12

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/elements/WithProperties