Skip to content

When using (forked) TypeORM I get the followin errors ... #141

@acrodrig

Description

@acrodrig

Issue type:

[ ] question
[X] bug report
[ ] feature request
[ ] documentation issue

TypeORM version:

[X] latest
[ ] @next
[ ] 0.x.x (or put your version here)

Deno version:

1.9

Steps to reproduce or a small repository showing the problem:

error: TS2612 [ERROR]: Property 'manager' will overwrite the base property in 'Repository<Entity>'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    readonly manager!: MongoEntityManager;
             ~~~~~~~
    at https://deno.land/x/typeorm@v0.2.23-rc10/src/repository/MongoRepository.ts:51:14

TS2612 [ERROR]: Property 'databaseConnection' will overwrite the base property in 'BaseQueryRunner'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    protected databaseConnection!: PoolClient;
              ~~~~~~~~~~~~~~~~~~
    at https://deno.land/x/typeorm@v0.2.23-rc10/src/driver/postgres/PostgresQueryRunner.ts:57:15

TS2612 [ERROR]: Property 'databaseConnection' will overwrite the base property in 'BaseQueryRunner'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    protected databaseConnection!: [Connection, () => Promise<void>];
              ~~~~~~~~~~~~~~~~~~
    at https://deno.land/x/typeorm@v0.2.23-rc10/src/driver/mysql/MysqlQueryRunner.ts:54:15

TS2612 [ERROR]: Property 'options' will overwrite the base property in 'AbstractSqliteDriver'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    options!: SqljsConnectionOptions;
    ~~~~~~~
    at https://deno.land/x/typeorm@v0.2.23-rc10/src/driver/sqljs/SqljsDriver.ts:23:5

TS2612 [ERROR]: Property 'databaseConnection' will overwrite the base property in 'AbstractSqliteDriver'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    databaseConnection!: DB;
    ~~~~~~~~~~~~~~~~~~
    at https://deno.land/x/typeorm@v0.2.23-rc10/src/driver/sqlite/SqliteDriver.ts:29:5

TS2612 [ERROR]: Property 'sqlite' will overwrite the base property in 'AbstractSqliteDriver'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    sqlite!: DenoSqlite;
    ~~~~~~
    at https://deno.land/x/typeorm@v0.2.23-rc10/src/driver/sqlite/SqliteDriver.ts:31:5

Found 6 errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions