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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -