JSX and Typescript in the same file with Visual Studio 2015 -


in visual studio 2015 :

  1. i can change file extension .jsx , start writing jsx code inside.
  2. i can change file extension .ts , start writing typescript code inside.

but how can jsx , typescript in visual studio 2015 inside 1 single file ? someting .jsx.ts ? intelissense working both @ same time...

i found wich works atom ide. http://blog.mgechev.com/2015/07/05/using-jsx-react-with-typescript/

as far understand need have typescript 1.6 support. if visual studio 2015 doesn't come typescrip 1.6 support, there way use nightly builds wich allready have implementation ?

now typescript 1.6 beta out. download tools as provided in announcement.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -