This project is read-only.

TypeScript with Node.js

Topics: General
Nov 26, 2013 at 3:53 PM
Hi. I'm trying to use TS with Node.js framework, but it's a little tricky.

I added a question on stackoverflow:

In summary, I can't use the keyword extends on my classes if I do inheritance, it's not working, the class is not found if I add the keyword.
It's one issue.

Maybe do you have some tips for Node.js use? I tried the typescript-required but that's not working, (see the link), do you have any solution?

What I want to do is to have files shared between the server and the client, that means the server will use directly the file wrote using TypeScript but the client will get the file merged with a lot of other files and zipped and I need that files are compatible with both client (browser) and server.

Thank you for your help.

PS: I use WebStorm 7.1 IDE.
Nov 26, 2013 at 11:30 PM
(for those following the forum, the thread has moved over to stackoverflow via the link @Vadorequest mentions)