Typings

1 min read typescript

Written in 2016. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/typings-playground.

learn and experiment with TypeScript typings

# install typescript
$ npm install typescript --global

# install typings
$ npm install typings --global

# install node typings
$ typings install node --ambient --save

# compile index.ts to index.js
$ tsc

# run
$ node index.js

see contents of tsconfig.json, which tells tsc how to compile

Resources

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.