-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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 error TS1005 when building with version 4.1.1 #3916
Comments
What version of TypeScript are you using? I suspect that this issue could be caused by the usage of labeled tuple types in the commit you referenced. This is a new feature in TypeScript 4.0, which I think might be causing trouble if you are using older versions. |
That was the issue! I was running typescript 3.9.6, upgrading to 4+ solved it. Thank you. |
same problem here - very nice to read a perfect answer / fix. |
Labeled tuple elements were added in TypeScript 4.0. Reference: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#labeled-tuple-elements Related: #3916
This should be fixed by 0cb6ac9, included in |
The same issue here, i will post my case it maybe face anyone .. I have express application, it's dockerized Once the build is start running I got the same issue, I did updated the typescript to version The docker up will do the following in sequence: 1- So the issue is that I had to add |
Hello @yhawash how did you solve this issue ? I have the same issue here. |
Updating the version of the |
Is there any version compatible with old typescript versions? |
Labeled tuple elements were added in TypeScript 4.0. Reference: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#labeled-tuple-elements Related: socketio#3916
Describe the bug
I updated to version 4.1.1 from version 4.0.2 today and when I try to build, I get two errors:
I'm using the following non-default options in my tsconfig:
I suspect this is due to the following change from yesterday:
b84ed1e#diff-f11671c8d5a031c5560b560c3fc390bf7509925c4914ec4d60011b3d10420c28
To Reproduce
Socket.IO server version:
4.1.1
Server
Platform:
The text was updated successfully, but these errors were encountered: