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
TypeScript compilation fails with version v0.2.27 : error TS2611 #6805
Comments
What version of typescript are you running this with? |
I'm using the version 4.0.3 of typescript, same problem. |
I also ran into the same problem as @Cristiandi. Please fix this. P.S. The version of TypeScript that I am using is 4.0.3. |
Same problem here TypeScript version 4.0.3. |
We aren't currently using 4.0 yet - perhaps there's a compatibility feature we didn't enable for the latest release? |
Looks like the issue was introduced in the type definitions as of Typescript 3.7 - https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html - because there's a problem with overriding properties with accessors. And for some reason our build wasn't using this until 0.2.27 - not sure the cause there, as we should have been updating over time. If we drop to Typescript 3.6.0 it should fix this issue - but it does mean that TypeORM as a project is stuck on that until whenever we can create a breaking change. What a pain. :| |
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade past that without marooning users of Typescript 3.5 / 3.6 & 4.0+ this locks typescript to ~3.6.0 explicitly fixes typeorm#6809 fixes typeorm#6805
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade past that without marooning users of Typescript 3.5 / 3.6 & 4.0+ this locks typescript to ~3.6.0 explicitly and fixes some small issues that arise in using that version fixes typeorm#6809 fixes typeorm#6805
This should be fixed as of 0.2.28 |
@imnotjames everything working for me with 0.2.28 TY! |
@imnotjames Thank you so much, bro! :) |
after update dependency typeorm to v0.2.28. it's work for me |
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade past that without marooning users of Typescript 3.5 / 3.6 & 4.0+ this locks typescript to ~3.6.0 explicitly and fixes some small issues that arise in using that version fixes typeorm#6809 fixes typeorm#6805
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
:I manually installed 0.2.26 and compilation succeeded.
The text was updated successfully, but these errors were encountered: