It totally works! Typescript will compile .tsx files to .js.
I am applying this practice to an open source project, so if you are interested you can find the initial changes in this PR: github.com/dungeon-revealer/dungeo...
Happy migrating! Oh, and it would be awesome if you could let me know whether this workflow works with you 🙂.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice post. I'm actually looking at migrating a project to TypeScript myself, and this would indeed enable a gradual move over.
Do you see any differences if we would be using .tsx files instead of .ts files?
Thanks!
It totally works! Typescript will compile
.tsx
files to.js
.I am applying this practice to an open source project, so if you are interested you can find the initial changes in this PR: github.com/dungeon-revealer/dungeo...
Happy migrating! Oh, and it would be awesome if you could let me know whether this workflow works with you 🙂.