Overview
DefinitelyTyped is the community repository of TypeScript type definitions for JavaScript libraries that do not ship their own. When you install a package such as @types/node or @types/jquery from npm, the files come from this project.
The definitions live in one large GitHub repository under the MIT licence. Its main branch is published automatically to the @types scope on npm by tooling hosted in Microsoft's GitHub organisation. To use a definition you run npm install --save-dev with the @types package name, and the TypeScript compiler normally picks the types up without further setup. For scoped packages the name drops the @ and replaces the slash with a double underscore.
The project is run by contributors: each package lists owners who are notified about pull requests, and a merge bot handles much of the review flow. Packages are tested only against TypeScript versions less than two years old, though older versions of many packages stay available through version tags. The definitelytyped.org site is a short landing page with guides; the real activity is on GitHub.
Categories
Features
- Type definitions for thousands of JavaScript packages that lack built-in types
- Installed from npm under the @types scope
- Types are picked up automatically by the TypeScript compiler
- Main branch published to npm automatically
- Packages tested against TypeScript versions from the last two years
- Older package versions kept available through TypeScript version tags
- Contribution workflow with package owners, a merge bot and the dtslint checker
- Search page for finding @types packages
Privacy
See the official privacy policy. It is an open-source repository with no account needed to install packages; contributing requires a GitHub account.
Pros & Cons
Pros
- Free and open source under the MIT licence
- Installs through the package manager you already use
- Very wide library coverage
- Actively maintained, with automated testing and publishing
Cons
- Definitions are written by volunteers, so quality and freshness vary by package
- Types can lag behind or disagree with the library version you use
- Only TypeScript versions from roughly the last two years are tested
- The definitelytyped.org site itself is sparse, with most documentation on GitHub
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
TypeScript · TypeScript
Adds static types to JavaScript.
Open Source No Signup Web -
Runs TypeScript files directly in Node.js.
Open Source No Signup Web -
TypeScript · typescript-eslint
Lints TypeScript code for errors and style issues.
Open Source No Signup Web