Skip to content

Instantly share code, notes, and snippets.

@ktutnik
Last active October 21, 2015 06:23
Show Gist options
  • Save ktutnik/d13f14496ce08f4f82c2 to your computer and use it in GitHub Desktop.
Save ktutnik/d13f14496ce08f4f82c2 to your computer and use it in GitHub Desktop.
***Requirements:***
install TSD
editor atom
express-generator
> express <project name>
> touch app.ts
https://goo.gl/vYexMR
> touch tsd.json
https://goo.gl/CVPTGq
>touch bin/www.ts
https://goo.gl/y8AEgu
modify bin/www https://goo.gl/A4y1vs
>touch routes/index.ts
https://goo.gl/d8OdVU
>touch routes/users.ts
https://goo.gl/hxXBaO
> tsd reinstall -so
> sudo atom .
select app.ts kemudian ctrl + shift + p
then type tsconfig to generate tsconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment