TypeScript Declaration Files
Channel: ProgramArtist
Date: 2017-04-21

In this episode I show how to use external libraries written in JavaScript with TypeScript.
I talk about what declaration files are, how to search and install them.
I also show how you can publish your typescript library with declaration files.

00:05 Motivation
01:34 Simple example using lodash
03:16 Problem with using JavaScript modules
04:06 Installing and using declaration file for lodash
07:35 Searching for declaration files
08:57 Publishing your module with declaration files

You can see all the code here:
https://github.com/slavik57/typescript-playground

TypeScript videos:
https://www.youtube.com/playlist?list=PLtm06noQc9vmfoC4U0w90HTIRzpVKeXlC