Skip to content

[DEPRECATED] Mirror for Figma plugins TypeScript definitions file

Notifications You must be signed in to change notification settings

figma-plugin-helper-functions/types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published