Reviving a Legacy TypeScript Application

Some Background

TypeScript made some things easy

So what didn’t TypeScript make easy?

find -name "*.ts"  -exec sed -ie "s/var/let/" {} \;

var thing = 1;
var thing2 = 2;
thing2 += thing1;
let thing = 1;
let thing2 = 2
thing2 += thing1;
const thing = 1;
let thing2 = 2
thing2 += thing1;

Conclusion

--

--

--

developer by day, super hero all the time.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Benjamin Cripps

Benjamin Cripps

developer by day, super hero all the time.

More from Medium

Learn the Concept of TypeScript Override

TypeScript Override Concept | Tomoe

TypeScript Beginner to Advance (A-Z)

Typescript: Type VS Interface

React app with Typescript and custom Webpack config