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

Initializers are not allowed in ambient contexts. #4

Open
aodhgan opened this issue Apr 15, 2019 · 0 comments
Open

Initializers are not allowed in ambient contexts. #4

aodhgan opened this issue Apr 15, 2019 · 0 comments

Comments

@aodhgan
Copy link

aodhgan commented Apr 15, 2019

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 "*"

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

1 participant