This is an attempted port of Globalize So What'cha Want to TypeScript for @mhegazy to illustrate problems experienced in microsoft/TypeScript#4337 (comment).
Globalize So What'cha Want is made up of 2 things:
- an npm package
- an online tool which provides a nice UI for the package
The npm package is vanilla JS, the online tool is built using the following technologies:
- Browserify
- React
- Babel
The idea is to migrate this repo to TypeScript to get the benefit of static typing whilst still using Babel for transpilation to present day JS (we will target ES6 as the output of the TypeScript compilation). We will use TSIFY for the TS compilation.
Last time I attempted this (on a similar codebase) the latest version of TS available was 1.5 beta. Now that 1.6 beta is out perhaps more success will be experienced. Or not. But here goes.
This has been ported across to TypeScript using the mighty fine atom-typescript plugin.
At present this does not work 😭. You can check out the state of the build here