Skip to content

Files

Latest commit

953e64e · Jun 17, 2023

History

History

typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 22, 2023
May 13, 2023
Jun 17, 2023

Figma REST API TypeScript Definitions

Figma REST API JSON responses TypeScript definitions.

These definitions are generated from Rust definitions using 1Password's typeshare. The definitions are liable to miss fields that haven't been needed by the Rust project. But the Rust programs will error if a field has a value outside of the declared type. You can use the echo subcommand of the parent project to see the data as constrained by the schema.

NPM

Deno

import * as figmaTypes from "https://raw.githubusercontent.com/ccouzens/figma-rust/typescript-0.1.0/typescript/index.d.ts";