5 ms·
> Lower quality editor/IDE integrations (when compared to TypeScript) This is one of my favorite aspects of TypeScript, the first-class support it receives in
by sephoric 8y ago
> Lower quality editor/IDE integrations (when compared to TypeScript)
This is one of my favorite aspects of TypeScript, the first-class support it receives in Monaco Editor (part of VS Code) which is one of the reasons I also chose first-class TypeScript support when making Autumn, since I could embed Monaco right into it and get countless amazing IDE features for free.
> unfortunately, we had to change a very small amount of runtime code to fix some logic that TypeScript could not understand
Would be very curious what this is, I've only found maybe one or two things TypeScript could not understand, and they were already under active development in the Github repo.
- _asummers 8y ago> countless amazing IDE features for free. Is this just from LSP? Or are there extras that are built into VSCode?
- rsimp 8y agoIronically typescript doesn't have a supported language server from MS. TSServer (in the typescript npm package) is language server-esque and that's what VS Code plugs into. I believe the main language server for typescript is maintained by sourcegraph. VS Code is written in typescript though and the projects have a pretty nice cadence of new features. Typescript is very much a first class citizen in VS Code
- int_19h 8y agoPretty much anything that comes from Microsoft today that is a web app, or uses the HTML for UI on the desktop (such as Electron apps), is likely to be written in TS. Not even because there's some push to do so, but because people who mostly write in C# and C++ find TS far more preferable. (That, by the way, is one reason why you can trust that it's not going away anytime soon.)
- grrowl 8y agoIn our case, we had some "fun" React HOCs which were difficult to type properly in TypeScript. We re-wrote the HOC to be easier to read and maintain, so while it cost effort I consider it a net gain.