Add typescript to your NodeJS app in 4 easy steps.

npm install -g typescript
npm install -g ts-node

2. Rename js files to end with ts

find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;

3. create a tsconfig.json file

4. run app using ts-node

ts-node {yourMainEntryPoint}.ts

That should be it!

To apply for the Shopify developer internship, applicants were challenged to build an image repository of some sort. To make the most of my time working on this project, I chose to explore a concepts I wasn’t too familiar with. …

Yaser Ibrahim

Learning things. Building things.

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