Skip to content

Unable to run example with TypeScript 2.5.x #16

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

Closed
alex-dixon opened this issue Sep 19, 2017 · 3 comments
Closed

Unable to run example with TypeScript 2.5.x #16

alex-dixon opened this issue Sep 19, 2017 · 3 comments

Comments

@alex-dixon
Copy link

Upstream issue microsoft/TypeScript#18301

npm install -g typescript@latest solved this for me in combination with running tsc in examples folder then running node client.js and node server.js to avoid using ts-node.

Worked with tsc Version 2.6.0-dev.20170919.

Not sure what version I had before (sorry oops) but judging by the issue seems the fix will land in 2.6.0.

@kondi
Copy link
Owner

kondi commented Sep 19, 2017

It is already fixed in the TypeScript 2.5 branch by microsoft/TypeScript#18360, but not released yet.
I suggest to use TypeScript 2.4.x temporarily until 2.5.3 is released.

@kondi kondi changed the title Unable to run example Unable to run example with TypeScript 2.5.x Sep 19, 2017
@FedeBev
Copy link

FedeBev commented Jul 18, 2018

Look if PR #35 solve your issue!

@kondi
Copy link
Owner

kondi commented Mar 5, 2019

Typescript v2.5.3 has been released, it should work, although I haven't checked. But it is working with v2.8.4 and v3.0.3.

@kondi kondi closed this as completed Mar 5, 2019
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

3 participants