Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 568 Bytes

typings.md

File metadata and controls

11 lines (9 loc) · 568 Bytes

Typings

Astute readers might be wondering what happens when TypeScript programmers need to interface with JavaScript modules that have no type information. TypeScript recognizes files labelled *.d.ts as definition files. These files are meant to use TypeScript to describe interfaces presented by JavaScript libraries.

There are communities of people dedicated to creating typings for JavaScript projects. There is also a utility called typings (npm install --save-dev typings) that can be used to manage third party typings from a variety of sources.