W3cubDocs

/Angular 10

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