@design-sdk/figma-core
v0.0.53
Published
core definitions
Downloads
588
Readme
@design-sdk/figma-core
This is used internally by the @design-sdk/figma
family of packages.
yarn add @design-sdk/figma-core
File Key
import type { FigmaFileKey } from "@design-sdk/figma-core";
import { figma_special_filekeys } from "@design-sdk/figma-core";
const figmafilekey: FigmaFileKey =
figma_special_filekeys.anonymous_figma_plugin_file_key;
Mixed
import { mixed } from "@design-sdk/figma-core";
// define type
interface SomeFigmaNode {
propertyA: number | typeof mixed;
}