figma-plugin-helper-functions / types

[DEPRECATED] Mirror for Figma plugins TypeScript definitions file

Repository from Github https://github.comfigma-plugin-helper-functions/typesRepository from Github https://github.comfigma-plugin-helper-functions/types

Figma plugin types [DEPRECATED]

npm

⚠️⚠️⚠️

Scince May 8, 2020 official package is available here @figma/plugin-typings. This package no longer needed and should be replaced with official one.

This repository automatically making releases of official Figma plugin Typescript definitions file to @figma-plugin/types NPM module.

Usage

  1. Installation
npm i --save-dev @figma-plugin/types
# or
yarn add -D @figma-plugin/types
  1. Configure tsconfig.json
{
	"compilerOptions": {
		"moduleResolution": "node"
	}
}
  1. Create index.d.ts in the root of project and import definitions to apply it globally:
import "@figma-plugin/types"

About

GitHub Actions cronjob checks for updates for figma.d.ts source every 24 hours, and if new version detected make a release to NPM.

About

[DEPRECATED] Mirror for Figma plugins TypeScript definitions file


Languages

Language:JavaScript 100.0%