UXP Types

ARCHIVED

TypeScript type definitions for the Adobe UXP and Photoshop APIs, generated from the live runtime and hand-refined for accuracy.

UXP Types is an npm package providing TypeScript definitions for Adobe’s Unified Extensibility Platform API and the Photoshop scripting API. Drop it into a UXP plugin project, add the typeRoots entry to your tsconfig.json, and you get full autocomplete and type checking for uxp and photoshop module imports — storage.localFileSystem, action.batchPlay, and the rest of the surface area that UXP plugin developers reach for daily.

The definitions were generated by running Microsoft’s dts-gen tool directly inside Photoshop through the UXP Developer Tools, then hand-modified to improve accuracy where the generated output was incomplete or imprecise. The Photoshop-specific types are sourced from Simon Henke’s photoshop-types package and bundled together so you only need one dependency. The package is archived now that Adobe ships first-party types, but it served as the community’s primary type source during the years when the official tooling was sparse.