microsoft/TypeScript
View on GitHub ↗ ★ 111,716 Go
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
617 mentions on Hacker News by 467 people: 78 stories, 539 comments · first 2014-07-23 · latest 2026-10-20
20082026
-
…functions in 2.6 using the compiler flag --strictFunctionTypes as described in this PR https://github.com/Microsoft/TypeScript/pull/18654
comment by besquared · 2017-11-09 · in Fast and precise type checking for JavaScript -
…their argument types, which the authors claim is justified for practical reasons. More info here: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-fun...
comment by curryhoward · 2017-11-09 · in Fast and precise type checking for JavaScript -
▲ 1
Typescript should follow semantic versioningstory by mulltiq · 2017-11-06 · 0 comments
-
There's a proposal in the roadmap to deal with this: https://github.com/Microsoft/TypeScript/issues/5453
comment by zenojevski · 2017-11-01 · in Announcing TypeScript 2.6 -
…is still in development, but: https://github.com/angular/angular/issues/7482 and the demo gif here: https://github.com/microsoft/typescript/issues/6508 display all those features.
comment by btown · 2017-11-01 · in Angular 5.0.0 -
…filter by the "VS Code tracked" label on the TypeScript issues which will give you a rough idea. https://github.com/microsoft/typescript/issues?utf8=%E2%9C%9...
comment by billti · 2017-11-01 · in VS Code Roadmap 2018 -
▲ 2
Typescript Roadmapstory by m00dy · 2017-11-01 · 0 comments
-
…or so), and you can set your expectations with the Roadmap[1]. Hope you enjoy the release! [1] https://github.com/Microsoft/TypeScript/wiki/Roadmap
comment by DanRosenwasser · 2017-11-01 · in Announcing TypeScript 2.6 -
You might want to give this a look: https://github.com/Microsoft/TypeScript
comment by dunstad · 2017-10-30 · in So you want to write a type checker (2014) -
…"recovery" in the TypeScript parser which is used to provide Language Services for the VSCode IDE. https://github.com/Microsoft/TypeScript/blob/master/src/comp... Automatic Error Recovery using heuristics can also be implemented by parsing…
comment by bd82 · 2017-10-17 · in Ohm: Parsing Made Easy -
…great experience,! Even these (occasional) "breaking" changes are relatively easy to navigate. [0]: https://github.com/Microsoft/TypeScript/pull/18654#issuecomm... [1]: https://blogs.msdn.microsoft.com/typescript/2017/10/02/types...
comment by styfle · 2017-10-13 · in Announcing TypeScript 2.6 RC -
> I just figures it out through... I have never thought about it. https://github.com/Microsoft/TypeScript/wiki/JavaScript-Lang... > Visual Studio 2017 provides a powerful JavaScript editing experience right out of the box. Powered by a…
comment by cwyers · 2017-10-02 · in Diminishing returns of static typing -
…were initially only supported when transpiling to ES6, but this is not true since at least 2.2 ( https://github.com/Microsoft/TypeScript/issues/5210 ).
comment by pafje · 2017-09-13 · in Flow and TypeScript -
Object.freeze can't be typed properly right now in TypeScript: https://github.com/Microsoft/TypeScript/issues/10725 TypeScript doesn't support deep readonly, which would be really helpful for Redux, where you're required to copy anything…
comment by lucasmullens · 2017-08-28 · in BuckleScript: An OCaml to JavaScript compiler -
…about or skeptical of TypeScript, do yourself a favor and check out the source code sometime: https://github.com/microsoft/typescript It's a work of art, everything is so practical and (relatively) easy to understand. Even better, it's…
comment by guscost · 2017-08-20 · in Reservations about TypeScript -
This gives an explanation of why they made the choice: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-fun... Also, FWIW, in my experience, I don't think I've ever actually run into a problem with this in real code.
comment by nkohari · 2017-08-20 · in Reservations about TypeScript -
…types[2], if/when those get implemented, though I'm not sure how that'd work exactly. [1] https://github.com/Microsoft/TypeScript/issues/5453 [2] https://github.com/Microsoft/TypeScript/issues/6579
comment by andrewfong · 2017-08-04 · in Typed Routes with TypeScript -
This is how the TypeScript team fixed this issue: https://github.com/Microsoft/TypeScript/pull/15011
comment by Gehinnn · 2017-08-02 · in TypeScripts Type System Is Turing Complete -
▲ 221
TypeScripts Type System Is Turing Completestory by supermdguy · 2017-08-01 · 88 comments
-
…The current roadblock seems to be getting function return types. Progress, for anyone interested: https://github.com/Microsoft/TypeScript/issues/16392 At this point I'm amazed how close we are to typing anything, despite having only 5 (!)…
comment by tycho01 · 2017-07-03 · in Why We Chose Typescript -
TypeScript can use JSdoc annotations: https://github.com/Microsoft/TypeScript/wiki/JsDoc-support-i...
comment by moogly · 2017-07-01 · in Why We Chose Typescript -
…of attention. Apologies, my memory gets optimistically fuzzy when I swoon over a language. ;) [0]: https://github.com/Microsoft/TypeScript/issues/6579
comment by fny · 2017-07-01 · in Why We Chose Typescript -
…does look like this release has no? Salsa-related fixes or improvements, so it doesn't surprise me. https://github.com/Microsoft/TypeScript/issues/15809
comment by pitaj · 2017-06-27 · in TypeScript 2.4 -
…polyfill for Map and Set). TypeScript 2.3 has support for vue.js this injection style patterns (see https://github.com/Microsoft/TypeScript/pull/14141 ) which are way out of the realm of class-centric programming languages. Similarly the…
comment by mohamedhegazy · 2017-06-27 · in TypeScript 2.4 -
Looking forward to the string enums! I've been using https://github.com/Microsoft/TypeScript/issues/3192#issuecom... but it'll be nice to have this built-in.
comment by cletusw · 2017-06-12 · in TypeScript 2.4 RC -
…that can be reasonably addressed in a future TS release: See for example: - Nominal types proposal https://github.com/Microsoft/TypeScript/issues/202 - Co/contravariance annotations proposal https://github.com/Microsoft/TypeScript/issues/10…
comment by bcherny · 2017-06-03 · in TypeScript support in Electron -
…Flow example, where it's just an annotation. There are hacks and other approaches, documented here: https://github.com/Microsoft/TypeScript/issues/6606
comment by silviogutierrez · 2017-06-02 · in TypeScript support in Electron -
…I won't go into them one by one, but you can jump into most of the issues here to get a sense: https://github.com/Microsoft/TypeScript/issues?utf8=&q=Sound... https://github.com/Microsoft/TypeScript/issues?utf8=&q=unsou... I won't take a…
comment by tekacs · 2017-06-02 · in TypeScript support in Electron -
it'll throw an error if a parameter is undefined, and https://github.com/Microsoft/TypeScript/issues/15333 which lands in the next version auto-suggests spelling corrections as well
comment by rcchen · 2017-06-02 · in TypeScript support in Electron -
…} I would much prefer if they just added a new keyword to the language, instead of hacks like this. https://github.com/Microsoft/TypeScript/issues/202
comment by realharo · 2017-05-19 · in Kotlin is like TypeScript -
…ones have the value `undefined` (unfortunate that strictNullChecks doesn't catch things like that https://github.com/Microsoft/TypeScript/issues/8476 ). And for some nitpicking, please be consistent with your semicolons, either use them or…
comment by realharo · 2017-05-19 · in Kotlin is like TypeScript -
▲ 2
Typechecking JavaScript Files with Typescriptstory by tomduncalf · 2017-05-09 · 0 comments
-
Looks like the Promise example will be fixed in TypeScript 2.3.1 https://github.com/Microsoft/TypeScript/issues/14770
comment by 2bit · 2017-04-29 · in TypeScript 2.3 -
…resolver (what Flow uses) is more usable, but there is a strong argument against it too [0]. [0] https://github.com/Microsoft/TypeScript/issues/15114
comment by bcherny · 2017-04-27 · in TypeScript 2.3 -
…Promises[1] and for Bluebird[2], you can clearly see that those are identical in this case.. [1]: https://github.com/Microsoft/TypeScript/blob/master/lib/lib.... [2]: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...
comment by andreypopp · 2017-04-27 · in TypeScript 2.3 -
…type alias in a non-breaking way much easier which is very powerfull in a large code base. [0]: https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...
comment by fahrradflucht · 2017-04-27 · in TypeScript 2.3 -
…Comments for types in .js files with `--allowJs`. you do not need to change your code for that. See https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...
comment by mohamedhegazy · 2017-04-27 · in TypeScript 2.3 -
…from your original assessment that there is a fundamental difference between the languages. [1]: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi... - goal 6
comment by spion · 2017-04-14 · in TypeScript at Slack -
…I didn't really run into any nasty side-effects or things that went wrong with it. See https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in... for a (short) explanation.
comment by wagi_ch · 2017-04-13 · in Glimmer.js: What’s the Deal with TypeScript? -
…for that: interface Baz { foo?: string; } let bar = (t: Baz) => // yes, I'm sure t.foo!.length; https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...
comment by ash · 2017-04-12 · in TypeScript at Slack -
…where fat arrow was two years ago). New operators are likely to fall in the awkward middle." [ https://github.com/Microsoft/TypeScript/issues/16 ]
comment by curveship · 2017-04-12 · in TypeScript at Slack -
…and e.g. turn down feature proposals that aren't far enough along in the standards process. See https://github.com/Microsoft/TypeScript/issues/16 for a feature users are begging for that they aren't implementing. Another good example is…
comment by evmar · 2017-04-11 · in TypeScript at Slack -
…sure what the difference between Flow and TypeScript was. Here's a fairly comprehensive list: https://github.com/Microsoft/TypeScript/issues/1265
comment by icc97 · 2017-04-08 · in React v15.5.0 -
…[2] https://github.com/jsdf/coffee-react-transform/issues/62 [3] https://github.com/Microsoft/TypeScript/issues/13884
comment by rraval · 2017-04-04 · in Ask HW: What is the state (for you) of CoffeeScript? -
▲ 1
TypeScript's Type System Is Turing Completestory by wwwigham · 2017-03-25 · 0 comments
-
…pay great attention to the community. If you want to see it happen, this is the issue to vote on: https://github.com/Microsoft/TypeScript/issues/9694
comment by nojvek · 2017-03-25 · in Show HN: Codewich – A live-updating TypeScript/CSS/HTML playground -
I believe that one area where TS could stand some improvement are multi-package projects. https://github.com/Microsoft/TypeScript/issues/3469
comment by spion · 2017-03-24 · in Show HN: Codewich – A live-updating TypeScript/CSS/HTML playground -
Here is a Typescript discussion on the issue: https://github.com/Microsoft/TypeScript/issues/8
comment by 0xcoffee · 2017-03-19 · in Comparing the Closure compiler to Uglify -
…but fine with comments then you can just put all of your typing information in jsdoc comments. https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...
comment by dsp1234 · 2017-02-22 · in Announcing TypeScript 2.2 -
…doesn't have the ability to say "Any type except X, Y and Z". So a new type was needed for this. https://github.com/Microsoft/TypeScript/issues/1809
comment by dsp1234 · 2017-02-22 · in Announcing TypeScript 2.2