W3cubDocs

/Angular 7

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