Skip to content

Initializers are not allowed in ambient contexts. #4

@aodhgan

Description

@aodhgan

npm start gives the error:

[email protected] start /Users/agleeson/typescript-koa-example
tsc && node src/index.js

node_modules/typeorm/connection/Connection.d.ts:40:28 - error TS1039: Initializers are not allowed in ambient contexts.

40 readonly isConnected = false;
~~~~~

This persists by updating the typescript dependency to "*"

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