Skip to content

johnnyreilly/globalize-so-what-cha-want-typescript

Repository files navigation

Globalize So What'cha Want - TypeScript

Build Status

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:

  1. an npm package
  2. 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.

Getting Up and Running

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