Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
acrodrig opened this issue Apr 15, 2021 · 1 comment
Open

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

acrodrig opened this issue Apr 15, 2021 · 1 comment

Comments

@acrodrig
Copy link

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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/src/driver/sqlite/SqliteDriver.ts:31:5

Found 6 errors.
@Dev-Addict
Copy link

same here.
I think there is a big problem with deno orms non of them are working expect for mongo and I'm trying to use mysql.
if anyone knows the solution or a workaround please help this problem still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants