figma-rest-api-typescript-definitions
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

/figma-rest-api-typescript-definitions/

    Package Sidebar

    Install

    npm i figma-rest-api-typescript-definitions

    Weekly Downloads

    103

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    12.8 kB

    Total Files

    3

    Last publish

    Collaborators

    • ccouzens