TypeORM 存储库查找选项

Mah*_*ala 5 node.js typeorm

我正在尝试遵循此信息http://typeorm.io/#/find-options但我无法指定任何列出的选项(选择、关系、顺序)并收到以下错误:

Object literal may only specify known properties and 'where' does not exist in type 'FindConditions<xxx>'

根据指定的第一个选项,其中成为关系或顺序。

this.reportRepository.find({
  where: {},
  relations: ['fss'],
  order: {date_created: 'DESC'},
});
Run Code Online (Sandbox Code Playgroud)

类型OR@0.2.7