Support for type definitions inside properties