Re:Announcing TypeScript 1.5
by spion on Monday July 20, 2015 @02:50PM
(#9918138)
IIRC JSX support is only implemented as parsing and type-checking. There is no JS generation. The output will contain the same JSX, which means you'll have to use a JSX compiler on it.
[ Parent
| on HN ]
The Typescript compiler can emit JS for use with React from JSX. This is a good blog post about it: http://www.jbrantly.com/typescript-and-jsx/
Re:Announcing TypeScript 1.5
by interlocutor on Monday July 20, 2015 @03:08PM
(#9918279)
You can use jsxtyper to generate TypeScript interfaces: https://github.com/fuselabs/jsxtyper