title: How to workraound this TypeORM error, "EntityRepository is deprecated , use Repository.extend function instead"?
body: <p>However, I can't find any Repository.extend method in Repository class and there's nothing about it in the documentation. How to solve this?</p>
  <p>typeorm version: &quot;^0.3.0&quot;</p>
  <p>I'm using nest js and trying to create a custom repository.</p>