Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between typescript.js and typescriptServices.js?

Tags:

typescript

TypeScript comes with 3 JavaScript compiled files in its 'bin' folder:

  • tsc.js -- command-line-run compiler itself;
  • typescript.js -- ??
  • typescriptServices.js -- ??

I guess one of those should be 'TypeScript language service', but what's the other one?

like image 295
Oleg Mihailik Avatar asked Nov 14 '12 23:11

Oleg Mihailik


1 Answers

typescript.js is what's used by some random internal tools. There's not any real external-facing purpose for it, though for example you could use it to build something similar to the TypeScript Playground.

tsc.js is typescript.js plus the command-line front-end.

typescriptServices.js is typescript.js plus the language service (e.g. for providing Intellisense features)

like image 113
Ryan Cavanaugh Avatar answered Oct 03 '22 23:10

Ryan Cavanaugh