# definitelytyped/definitelytyped

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/definitelytyped-definitelytyped).**

51,280 stars · 30,450 forks · TypeScript · NOASSERTION

## Links

- GitHub: https://github.com/DefinitelyTyped/DefinitelyTyped
- awesome-repositories: https://awesome-repositories.com/repository/definitelytyped-definitelytyped.md

## Topics

`definition` `dts` `hacktoberfest` `types` `typescript` `typescript-definitions` `typings`

## Description

DefinitelyTyped is a community-maintained type store and centralized JavaScript type registry. It serves as a repository of static TypeScript type declarations for third-party JavaScript libraries, providing the necessary metadata to enable compile-time safety and editor intelligence for external modules not originally written in TypeScript.

The project operates as a collaborative ecosystem where contributors define, validate, and maintain type declarations through a structured review process. This involves mapping type definition versions to specific library and compiler releases to ensure stability and synchronization across different environment versions.

The platform manages type accuracy through validation tools and test files to ensure declarations match actual runtime behavior. Its organizational structure supports scoped package naming conventions and dual-module declaration patterns that accommodate both global scripts and imported modules.

The repository includes processes for requesting missing definitions and removing redundant declarations when libraries begin bundling their own native types.

## Tags

### Software Engineering & Architecture

- [Type Definitions](https://awesome-repositories.com/f/software-engineering-architecture/type-definitions.md) — Provides missing type definitions for third party modules to enable better editor autocomplete and compile time safety.
- [TypeScript Type Definitions](https://awesome-repositories.com/f/software-engineering-architecture/typescript-type-definitions.md) — Provides a community-driven repository of static TypeScript type declarations for third-party JavaScript libraries.
- [Contribution Workflows](https://awesome-repositories.com/f/software-engineering-architecture/contribution-workflows.md) — Provides a structured process for creating, testing, and submitting new type declarations or augmenting existing ones. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.es.md))
- [Contribution Workflows](https://awesome-repositories.com/f/software-engineering-architecture/development-methodologies/engineering-best-practices/open-source-collaboration/open-source-methodologies/contribution-workflows.md) — Facilitates the creation and submission of new type declarations for community libraries through a structured review process.
- [Package Scope Naming](https://awesome-repositories.com/f/software-engineering-architecture/naming-conventions/package-scope-naming.md) — Maps scoped npm packages to directory paths using a specific naming format to avoid folder collisions.
- [Directory-to-Package Mappings](https://awesome-repositories.com/f/software-engineering-architecture/package-based-code-organization/directory-to-package-mappings.md) — Organizes type definitions in a flat directory structure where folder names correspond to JavaScript library package names.
- [Scoped Package Mapping](https://awesome-repositories.com/f/software-engineering-architecture/package-based-code-organization/scoped-package-mapping.md) — Implements scoped package naming conventions to maintain compatibility with package managers. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.ja.md))
- [Type Definition Generators](https://awesome-repositories.com/f/software-engineering-architecture/type-definition-generators.md) — Provides tools to generate the directory structure and metadata files required for submitting new type definitions. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.ko.md))

### Part of an Awesome List

- [Type Accuracy Validation](https://awesome-repositories.com/f/awesome-lists/devtools/testing-and-validation/type-accuracy-validation.md) — Uses dedicated test files and compiler checks to verify that declarations match actual runtime behavior.

### Development Tools & Productivity

- [Type Metadata Registries](https://awesome-repositories.com/f/development-tools-productivity/package-managers/package-registries/type-metadata-registries.md) — Serves as a centralized source of type metadata for third-party packages to improve editor intelligence.
- [Type Definition Request Processes](https://awesome-repositories.com/f/development-tools-productivity/type-definitions/type-definition-request-processes.md) — Provides a structured community process for requesting missing type definitions through reported issues. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.it.md))
- [Library Ownership Management](https://awesome-repositories.com/f/development-tools-productivity/library-ownership-management.md) — Implements a system for assigning specific maintainers to oversee quality control for individual library type folders.
- [Header-Based Constraints](https://awesome-repositories.com/f/development-tools-productivity/version-constraints/header-based-constraints.md) — Uses specific comments at the top of declaration files to define compatible compiler and library version ranges.

### Programming Languages & Runtimes

- [Community Type Stores](https://awesome-repositories.com/f/programming-languages-runtimes/community-type-stores.md) — Operates as a collaborative ecosystem where contributors define and validate TypeScript types for the JavaScript landscape.
- [Ecosystem Type Maintenance](https://awesome-repositories.com/f/programming-languages-runtimes/ecosystem-type-maintenance.md) — Collaboratively manages and reviews type declaration packages to ensure they match the runtime behavior of JavaScript libraries.
- [Type Definitions](https://awesome-repositories.com/f/programming-languages-runtimes/language-features-paradigms/type-system-tools/type-definitions.md) — Provides custom type declarations for external JavaScript packages to enable compile-time safety and editor intelligence. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.ja.md))
- [Declaration Validation](https://awesome-repositories.com/f/programming-languages-runtimes/language-features-paradigms/type-system-tools/type-safety/static-type-validation/declaration-validation.md) — Includes validation tools and test files to ensure type declarations match actual runtime behavior. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.es.md))
- [Type Declaration Registries](https://awesome-repositories.com/f/programming-languages-runtimes/programming-language-varieties/programming-languages/type-systems/typescript-declaration-tooling/declaration-file-providers/type-declaration-registries.md) — A set of declaration files that provide type information for external modules not originally written in TypeScript.
- [Dual-Module Declarations](https://awesome-repositories.com/f/programming-languages-runtimes/language-ecosystems-tooling/module-management/module-systems/es-module-integrations/dual-module-declarations.md) — Structures type files to support both global script loading and ES module imports within a single package.
- [Dual-Module Declarations](https://awesome-repositories.com/f/programming-languages-runtimes/programming-language-varieties/programming-languages/type-systems/typescript-declaration-tooling/global-type-augmentations/dual-module-declarations.md) — Supports dual-module declaration patterns that accommodate both global scripts and imported modules. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.fr.md))

### DevOps & Infrastructure

- [Version and Compatibility Management](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/version-compatibility-management.md) — Maps type definition versions to specific library or compiler releases to ensure stability across environment versions.
- [Compiler Version Mapping](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/version-compatibility-management/compiler-version-mapping.md) — Maps type definition versions to specific compiler releases to ensure stability across environments. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.ko.md))
- [Semantic Versioning Systems](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/version-compatibility-management/semantic-versioning-systems.md) — Synchronizes type declaration versions with the major and minor versions of external libraries to maintain API consistency.
- [Library Version Synchronization](https://awesome-repositories.com/f/devops-infrastructure/dependency-resolution/library-version-resolution/library-version-synchronization.md) — Synchronizes type package versions with JavaScript library versions using semantic versioning in headers. ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.it.md))
- [Distribution Package Generators](https://awesome-repositories.com/f/devops-infrastructure/package-packaging-tools/distribution-package-generators.md) — Provides automated tools to transform repository directory structures into individual versioned packages for distribution.
