Assertion: interface's property | /r/CapableOf | use interface
Facets:
Source sentences:
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.