I'm pretty new to Javascript, NodeJS and --obviously-- TypeScript. I'd like to experiment with the compiler services in src/services
(Windows) to provide intellisense, etc. for an editor.
As far as I can tell, I need to be able to require
the TypeScript services code in a NodeJS server and communicate with that from the editor. I couldn't find any NodeJS-specific TypeScript services code, so I think I'd have to compile the services code with --module amd
to make it available to NodeJS via RequireJS.
If the above is correct, my attempts to compile the services code with --module amd
yield exactly the same results as using the default module kind (see below).
$ tsc.cmd --module amd --out amd.js .\languageService.ts
$ tsc.cmd --out comm.js .\languageService.ts
$ diff.exe .\amd.js .\comm.js
$