Assertion: interface's property | /r/HasProperty | defined in interface
Facets:
Source sentences:
text: Properties and indexers of a class can define extra accessors for a property or indexer that's defined in an interface.
text: The TypeScript compiler also checks for excess properties on an object and gives an error if an object contains a property that is defined in the interface We also learned how to define Indexable properties using interfaces Classes can implement an interface.