gitwtfhub

wtf is definitelytyped?

jkleinsc/definitelytyped — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2018-01-25

TypeScriptAudience · developerComplexity · 1/5DormantSetup · easy

TL;DR

A community-maintained library of TypeScript type definitions for JavaScript packages, giving you autocomplete and error checking for libraries that don't ship their own types.

Mindmap

mindmap
  root((repo))
    What it does
      Adds TypeScript types
      Covers JS libraries
      Enables autocomplete
    Tech stack
      TypeScript
      NPM at types
    Use cases
      Type check JS libraries
      Get editor autocomplete
      Catch bugs before running
    Audience
      TypeScript developers
    Setup
      npm install at types package
      TypeScript picks it up
      No config needed

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Install @types packages to get TypeScript autocomplete for a JavaScript library.

REASON 2

Catch type errors in your editor before running code that uses an untyped library.

REASON 3

Contribute a new type definition for a library you use that lacks TypeScript support.

What's in the stack?

TypeScriptnpm

How it stacks up

jkleinsc/definitelytyped0xradioac7iv/tempfs7vignesh/pgpulse
Stars00
LanguageTypeScriptTypeScriptTypeScript
Last pushed2018-01-25
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity1/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Definitions can be removed if a library later ships its own built-in types.

Yoink these prompts

Prompt 1
Show me how to install @types definitions for a JavaScript library I'm using.
Prompt 2
Help me write and submit a type definition to DefinitelyTyped for a library.
Prompt 3
Explain why some JavaScript libraries need separate @types packages instead of built-in types.

Frequently asked questions

wtf is definitelytyped?

A community-maintained library of TypeScript type definitions for JavaScript packages, giving you autocomplete and error checking for libraries that don't ship their own types.

What language is definitelytyped written in?

Mainly TypeScript. The stack also includes TypeScript, npm.

Is definitelytyped actively maintained?

Dormant — no commits in 2+ years (last push 2018-01-25).

How hard is definitelytyped to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is definitelytyped for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.