microsoft/TypeScript
View on GitHub ↗ ★ 111,725 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
-
…peers (who are very satisfied with a perfect ABNF and a parser which strictly adheres to it). [1] https://github.com/Microsoft/TypeScript [2] https://github.com/Microsoft/TypeScript/labels/Effort%3A%20E...
comment by wwwigham · 2016-05-13 · in Anders Hejlsberg on Modern Compiler Construction [video] -
…tooling integrations we'll get from Typescript - there's a cool GIF in this issue tracking the work https://github.com/Microsoft/TypeScript/issues/6508
comment by robwormald · 2016-05-03 · in Angular 2 Release Candidate -
…features coming to the type system that brings it closer to parity with Flow: Non-nullable types: https://github.com/Microsoft/TypeScript/pull/7140 Control flow type analysis: https://github.com/Microsoft/TypeScript/pull/8010 I wish…
comment by avolcano · 2016-04-27 · in TypeScript Won -
…compile everything in the "src" directory, my best option is to exclude every other directory. [0] https://github.com/Microsoft/TypeScript/issues/983
comment by jdmichal · 2016-04-27 · in TypeScript Won -
If you are using typescript, you should read: https://github.com/Microsoft/TypeScript/issues/7270 TLD'R: React 15.0 broke TSX in typescript but the workaround is easy.
comment by kuon · 2016-04-07 · in React v15.0 -
…want saner scoping rules. We should definitely update the docs to use let everywhere, though. [1]: https://github.com/Microsoft/TypeScript/issues/5822#issuecom...
comment by egeozcan · 2016-03-21 · in Non-nullable types for TypeScript -
…I filed. I was flabbergasted when I was told it was by design, to match JavaScript. The issue: https://github.com/Microsoft/TypeScript/issues/5822
comment by ridiculous_fish · 2016-03-21 · in Non-nullable types for TypeScript -
Well, with the last release, typescriot supposedly can compile plain js. https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in... That should make it simple to treat ts more strict than js.
comment by geon · 2016-03-21 · in Non-nullable types for TypeScript -
▲ 185
Non-nullable types for TypeScriptstory by muraiki · 2016-03-21 · 32 comments
-
▲ 6
Non-nullable types – Microsoft/TypeScriptstory by elisee · 2016-03-19 · 0 comments
-
…tps://github.com/jeffmo/es-class-fields-and-static-propert... or Support ES7: exponentiation operator https://github.com/Microsoft/TypeScript/issues/4812 Typescript seems to be more like ECMAScript.next + types rather than ES6 + types.
comment by bd82 · 2016-03-16 · in JavaScript libraries should be written in TypeScript -
…is the spread/rest syntax which is sometimes used in React projects isn't fully supported in TS: https://github.com/Microsoft/TypeScript/issues/2103 . I should point out you can use Babel and Typescript, so the Babel processes the output…
comment by tommyd · 2016-03-16 · in JavaScript libraries should be written in TypeScript -
…to the type system on the roadmap, for example support for non-nullable and variadic types: https://github.com/Microsoft/TypeScript/wiki/Roadmap Typescript may not be perfect but I'm glad to see it getting more attention as I think it can…
comment by tommyd · 2016-03-16 · in JavaScript libraries should be written in TypeScript -
…structural checking of interfaces right, but I beleive (correct me if I'm wrong, I'm referring to https://github.com/Microsoft/TypeScript/issues/202 ) that classes are also structurally checked. Flow does nominal checking for those, with…
comment by shados · 2016-03-12 · in State of the Art JavaScript in 2016 -
▲ 2
What's new in TypeScript 1.8story by peterkelly · 2016-02-25 · 0 comments
-
▲ 3
What's new in Typescript 1.8story by tosh · 2016-02-23 · 0 comments
-
For a more complete list of features, check out our What's New in TypeScript page: https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...
comment by DanRosenwasser · 2016-02-22 · in Announcing TypeScript 1.8 -
▲ 1
TypeScript – Non Nullable Types by Default PRstory by inglor · 2016-02-22 · 0 comments
-
I think you're misunderstanding the feature, see here for more info: https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...
comment by orf · 2016-01-28 · in Announcing TypeScript 1.8 Beta -
According to https://github.com/Microsoft/TypeScript/wiki/JSX , there are two JSX processing options. The first is a JSX passthru ("preserve" mode) and the second ("react" mode) will generate React.createElement, etc. See that page for the…
comment by saidajigumi · 2016-01-28 · in Announcing TypeScript 1.8 Beta -
▲ 2
What's new in TypeScriptstory by plurby · 2016-01-28 · 0 comments
-
Also check out our "What's New in TypeScript" page[1] for a little more detail. [1] https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...
comment by DanRosenwasser · 2016-01-28 · in Announcing TypeScript 1.8 Beta -
…AFAIK. In fact, that's one of their stated goals: "Impose no runtime overhead on emitted programs." https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...
comment by tlrobinson · 2016-01-25 · in Things every React.js beginner should know -
…improved tooling, greater support in libraries and transformers, and eventual browser adoption. [0] https://github.com/Microsoft/TypeScript/issues/1265 [1] https://github.com/mozilla/sweet.js/issues/482 [2]…
comment by kcorbitt · 2015-12-03 · in How to create strongly-typed npm packages -
…API is the better choice here? I'm not fully aware of the differences / divisions between the two. https://github.com/Microsoft/TypeScript/wiki/Using-the-Compi...
comment by freditup · 2015-12-02 · in Announcing TypeScript 1.7 -
…are some features not supported by Babel (modules, public/private). See this issue for more details https://github.com/Microsoft/TypeScript/issues/1641
comment by Keats · 2015-12-01 · in Announcing TypeScript 1.7 -
…subtle behavioural differences between the Language Service and the regular compiler, for example: https://github.com/Microsoft/TypeScript/issues/5243
comment by DCoder · 2015-12-01 · in Announcing TypeScript 1.7 -
…can do it natively because it knows at lot more before the being translated to javascript : https://github.com/Microsoft/TypeScript/issues/8
comment by hokkos · 2015-12-01 · in Announcing TypeScript 1.7 -
Yes, you can: https://github.com/Microsoft/TypeScript/wiki/Using-the-Langu...
comment by freditup · 2015-12-01 · in Announcing TypeScript 1.7 -
…but not Safari or IE/Edge. Supporting async/await in ES5/ES3 is on the roadmap for TypeScript v2.0. https://github.com/Microsoft/TypeScript/wiki/roadmap
comment by dfabulich · 2015-12-01 · in Announcing TypeScript 1.7 -
…be used during development, testing, and debugging. You should propose this to the Typescript team! https://github.com/Microsoft/TypeScript/issues
comment by wildmusings · 2015-12-01 · in Announcing TypeScript 1.7 -
…async/await with ECMA6 + promises. TypeScript 2.0 will bring support for it with ECMA 3 and ECMA 5. https://github.com/Microsoft/TypeScript/wiki/Roadmap https://github.com/Microsoft/TypeScript/issues/1664
comment by yareally · 2015-10-20 · in Goodbye CoffeeScript, Hello TypeScript -
I hope this new feature https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm... means that little by little the type definitions will move to the projects themselves rather than having all of them together in a single repo.
comment by santialbo · 2015-10-20 · in Goodbye CoffeeScript, Hello TypeScript -
…with ES6 class syntax; it's always sexy when TS works to keep its "pure superset" goals. [0]: https://github.com/Microsoft/TypeScript/wiki/Roadmap
comment by WorldMaker · 2015-09-16 · in Announcing TypeScript 1.6 -
…hell or promise purgatory. It appears async support has been pushed out until TypeScript 2.0. [0]: https://github.com/Microsoft/TypeScript/issues/1664
comment by judah · 2015-09-16 · in Announcing TypeScript 1.6 -
…I think the point is the TS team is aware of some of the issues and is taking steps to address. 1. https://github.com/Microsoft/TypeScript/pull/4352
comment by jbrantly · 2015-09-13 · in TypeScript and JSX -
…more features from ES6 and ES7. Some of the features in ES6/7 were taken from TypeScript, I reckon. https://github.com/Microsoft/TypeScript/wiki/Roadmap
comment by ane · 2015-09-13 · in TypeScript and JSX -
TypeScript does the same thing - its compiler is written in TypeScript. See https://github.com/Microsoft/TypeScript/tree/master/src/comp... . But yeah, darned cool, and very meta.
comment by smithkl42 · 2015-08-19 · in Go 1.5 is released -
Wait.. Are you talking about what's described here: https://github.com/Microsoft/TypeScript/issues/2242 I just did a small typescript prototype and used the import syntax there. It might have been your typescript version as 1.5 recently…
comment by Glide · 2015-08-05 · in TypeScript vs. Haxe -
The compiler api has gotten a lot better: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compi... If you just want string->string compilation, there's typestring, which wraps the api: https://www.npmjs.com/package/typestring
comment by AntiRush · 2015-07-20 · in Announcing TypeScript 1.5 -
…library, you just build an interface for it. Lots of examples of how to do that out there[2]. [1] https://github.com/Microsoft/TypeScript/wiki/TypeScript-Edit... [2] https://github.com/borisyankov/DefinitelyTyped
comment by yareally · 2015-07-20 · in Announcing TypeScript 1.5 -
Thanks... I found the closed issue: https://github.com/Microsoft/TypeScript/issues/3203 And some docs from the contributor's branch: https://github.com/RyanCavanaugh/jsx-intro Nothing yet mentioned in the master's markdown. Do you know…
comment by euroclydon · 2015-07-20 · in Announcing TypeScript 1.5 -
…be simple to generate per function. Would be DRY and another feather in Typescript's cap IMHO. https://github.com/Microsoft/TypeScript/issues/10
comment by verusfossa · 2015-07-20 · in Announcing TypeScript 1.5 -
▲ 3
Abstract class and method is now part of TypeScriptstory by kenrick95 · 2015-07-02 · 0 comments
-
▲ 5
TypeScript JSX support landed in master branchstory by egeozcan · 2015-06-29 · 0 comments
-
▲ 10
Proposal for Abstract Classes and Methods in TypeScriptstory by kenrick95 · 2015-06-25 · 0 comments
-
…something angular asked them to do (there was no runtime information before). See also: https://github.com/Microsoft/TypeScript/issues/3148
comment by jkrems · 2015-05-31 · in Show HN: ES7 Decorator library adds types checking, memoization, and more to JS -
Both async/await and generators are on the roadmap[0] for the next version. [0] https://github.com/Microsoft/TypeScript/wiki/Roadmap
comment by sesutton · 2015-05-29 · in ES6 in Depth: Destructuring -
…Typescript is catching up with all ES6 features, so you can use destructors (discussed [here]( https://github.com/Microsoft/TypeScript/issues/240) ) in Typescript v1.5--beta
comment by itajaja · 2015-05-29 · in ES6 in Depth: Destructuring -
▲ 2
TypeScriptstory by pykello · 2015-05-22 · 1 comment