Fork me on GitHub

DefinitelyTyped

The repository for high quality TypeScript type definitions

Usage

npm

This is the preferred method. This is only available for TypeScript 2.0+ users. For example:

npm install --save-dev @types/jquery

The types should then be automatically included by the compiler. See more in the handbook.

Triple-Slash Directives

Download a declaration file from the repository and include a line like this:

/// <reference path="jquery/jquery.d.ts" />

Contributing

News

Add a badge to your library
TypeScript directory restructured