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
-
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 -
…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 -
…should not be available in arrow functions according to the spec. (source: discussion here https://github.com/Microsoft/TypeScript/issues/1609 )
comment by SanderMak · 2015-05-08 · in Quinn – A web framework designed for things to come -
Check the roadmap: https://github.com/Microsoft/TypeScript/wiki/Roadmap It's true that there's not too many ES6 features implemented yet, but the 1.5 release will bring a lot of new ES6 features, and it's right around the corner.
comment by nawitus · 2015-04-21 · in Deploying ECMAScript 6 -
There is an ES6 label for tracking these issues: https://github.com/Microsoft/TypeScript/labels/ES6
comment by flyingmutant · 2015-04-21 · in Deploying ECMAScript 6 -
…written in Word, and of a desire to convert into a much more web-friendly format. See specs.md: https://github.com/Microsoft/TypeScript/tree/master/doc Speaking more honestly, I was being a bit tongue-in-cheek and trying to bounce certain…
comment by jschrf · 2015-03-18 · in ES6 RC3 released -
Here's an interesting script in the TypeScript repo that may be of use: https://github.com/Microsoft/TypeScript/blob/master/scripts/... Something else from the same repo that may also be of use: TypeScript's elegant and well-considered…
comment by jschrf · 2015-03-18 · in ES6 RC3 released -
See https://github.com/Microsoft/TypeScript/issues/394 and https://github.com/Microsoft/TypeScript/issues/1003 for what the future may hold
comment by jbrantly · 2015-03-11 · in Baobab: A JavaScript data tree supporting Om-style cursors, with React mixins -
…mention is modules and classes. Also, when I googled 'typescript template string' the first hit was https://github.com/Microsoft/TypeScript/issues/13 , so I assumed they were supported.
comment by findjashua · 2015-03-11 · in Strengthening JavaScript -
…also made it out in TypeScript 1.4. An example of the syntax can be found in the following file: https://github.com/Microsoft/TypeScript/blob/v1.4/tests/case...
comment by gisenberg · 2015-01-17 · in Announcing TypeScript 1.4 -
…into their status yesterday, in fact, and came across these tracker threads: * Non-nullable types: https://github.com/Microsoft/TypeScript/issues/185 * Sum types: https://github.com/Microsoft/TypeScript/issues/186 The short story is that…
comment by BrianHV · 2015-01-17 · in Announcing TypeScript 1.4 -
The discussion on Github for user-defined type guards (spion's comment) is at https://github.com/Microsoft/TypeScript/issues/1007 Advanced pattern matching, monads, etc. might be out of scope for TS, since it doesn't want to have major…
comment by Arnavion · 2015-01-16 · in Announcing TypeScript 1.4 -
…its really nice to have typechecked HTML-like templates, I suppose. Even more info here: [1]: https://github.com/Microsoft/TypeScript/issues/1265
comment by spion · 2015-01-05 · in Exploring Flow, Facebook's Type Checker for JavaScript -
that's not really the actual timeline. here is the pull request for adding union types. https://github.com/Microsoft/TypeScript/pull/824 I believe all 3 teams, TypeScript, Flow, and AtScript, are working together for few things as is.
comment by ahmelsayed · 2014-11-19 · in TypeScript 1.4 sneak peek: union types, type guards, and more -
Here is some interesting discussion on that aspect of the typesystem: https://github.com/Microsoft/TypeScript/issues/14 It also discusses Flow from 2 months ago (from a now removed video)
comment by inglor · 2014-11-18 · in Facebook Launches Flow, Static Type Checker for JavaScript -
Yep, here's some related discussion: https://github.com/Microsoft/TypeScript/issues/185 tl;dr: they want to support both of those features, the question is what syntax to use and how to introduce those features into the existing ecosystem.
comment by DougBTX · 2014-11-18 · in Facebook Launches Flow, Static Type Checker for JavaScript