Figma REST API TypeScript Definitions

JSON →
library 0.2.0 ·javascript
verified Jun 7, 2026

TypeScript type definitions for Figma's REST API JSON responses, currently at version 0.2.0. These definitions are generated from Rust structs via 1Password's typeshare, ensuring type accuracy but potentially missing less-used fields. The package is updated infrequently, as it is derived from the Figma Rust project. Key differentiators: provides type safety for Figma API consumers in TypeScript projects, though coverage is limited to fields implemented in the Rust library. Alternatives like @figma/rest-api-spec offer hand-maintained types with broader coverage.