Skip to content

TypeScript compilation fails with version v0.2.27 : error TS2611 #6805

@rbutera

Description

@rbutera

Issue type:

[x] bug report
[ ] feature request
[ ] documentation issue

TypeORM version:

[x] latest
[x] 0.2.27

Steps to reproduce or a small repository showing the problem:

The issue appears to be related to MongoEntityManager.d.ts:

[node_modules/typeorm/entity-manager/MongoEntityManager.d.ts:27:9 - error TS2611: 'queryRunner' is defined as a property in class 'EntityManager', but is overridden here in 'MongoEntityManager' as an accessor.

27     get queryRunner(): MongoQueryRunner;
           ~~~~~~~~~~~

Found 1 error(s).

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I manually installed 0.2.26 and compilation succeeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugregressionworked in previous version and doesn't work in current

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions