TypeORM throws "Type instantiation is excessively deep and possibly infinite.ts(2589)" error on Repository typing
Update (23 September 2019):
This issue seems to have been fixed in Typescript version 3.6.3.
Source: https://github.com/typeorm/typeorm/issues/3194#issuecomment-529911310