# TypeScript types cache

Source: https://diskcity.app/folders/js-typescript-cache

**Safe to delete.** Yes. Your editor downloads type definitions again as you open JavaScript files.

## What it is

TypeScript types cache is data your Mac or an app can rebuild. It lives at ~/Library/Caches/typescript.

## Where it is

- `~/Library/Caches/typescript`

## How big is it?

```sh
du -sh "$HOME/Library/Caches/typescript"
```

## How to remove it

1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
2. Move its contents to the Trash.
3. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot.
