Skip to content

Latest commit

 

History

History

typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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";