Apps

TypeScript Typings Cache

Automatic Type Acquisition in the TypeScript language server downloads and caches .d.ts type definition packages for JavaScript projects so editors can provide IntelliSense, parameter hints, auto-imports, and error checking without a local tsconfig setup. That cache can accumulate extracted declaration files, package metadata, and downloaded archive contents from previous package versions or interrupted fetches. Kudu removes the cached typings store so TypeScript can re-download fresh definitions on demand, without touching your source files, projects, editor settings, accounts, or saved credentials.

Why it matters

Why clean TypeScript Typings Cache?

  • Stale downloaded .d.ts packages can make IntelliSense show outdated APIs, so completions and parameter hints no longer match the library version actually installed in the project
  • A partial or corrupted Automatic Type Acquisition download can leave JavaScript files stuck with missing types, showing lots of Cannot find name or implicit any diagnostics until the cache is rebuilt
  • Old cached metadata may keep suggesting wrong auto-imports from removed package paths, which shows up as imports that compile badly or point at deprecated entry points
  • After a dependency upgrade, the language server may keep using older cached declarations, causing red squiggles in the editor even though the project runs correctly
  • Large accumulated typings caches from many temporary or one-off projects waste disk space and slow ATA lookups, which users notice as delayed IntelliSense in plain JavaScript workspaces
  • Interrupted network fetches or editor crashes during type acquisition can leave broken archive contents in the cache, leading to repeated retries, missing completions, or type acquisition never finishing
  • Conflicting cached declarations for scoped packages or renamed packages can produce duplicate symbol errors and noisy diagnostics that disappear once fresh typings are downloaded
What gets cleaned

Cache paths Kudu targets

Windows

%LocalAppData%/Microsoft/TypeScript

macOS

~/Library/Caches/typescript

Linux

~/.cache/typescript
Frequently asked

Common questions about TypeScript Typings Cache

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.