Apps

TypeScript Typings Cache

Editors that use the TypeScript language service can automatically download declaration packages for plain JavaScript projects through Automatic Type Acquisition, storing fetched .d.ts files, package metadata, and registry tarball contents in the TypeScript cache directory. That cache exists so IntelliSense, auto-imports, quick info, and error checking work without manually installing types, but old or partial downloads can leave the language server using stale definitions. Kudu removes the cached typings and related download artifacts so TypeScript can fetch clean copies when your editor next needs them, without touching source files, projects, settings, accounts, or passwords.

Why clean TypeScript Typings Cache?

  • A truncated or interrupted typings download leaves incomplete .d.ts files behind, which shows up as missing IntelliSense, broken auto-imports, or random 'cannot find name' errors in JavaScript projects
  • Stale automatic type packages after a library update can make the editor suggest APIs that no longer exist, leading to red squiggles or incorrect parameter hints until fresh definitions are downloaded
  • Cached registry metadata can point the language server at outdated declaration versions, so hover info and completions do not match the package actually installed in the project
  • Large accumulated @types downloads from many temporary or old workspaces waste disk space under the TypeScript cache directory even though they can be re-downloaded on demand
  • Corrupted package extraction in the typings cache can cause the TypeScript server to repeatedly rescan and retry, which users notice as slow editor startup, delayed completions, or a constantly busy tsserver process
  • When multiple editors or TypeScript versions reuse old cached typings, version mismatches can produce inconsistent diagnostics where one project opens with false errors and another does not
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.