Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/figma-plugin-helper-functions/types
[DEPRECATED] Mirror for Figma plugins TypeScript definitions file
https://github.com/figma-plugin-helper-functions/types
definitions figma figma-plugins typings
Last synced: 22 days ago
JSON representation
[DEPRECATED] Mirror for Figma plugins TypeScript definitions file
- Host: GitHub
- URL: https://github.com/figma-plugin-helper-functions/types
- Owner: figma-plugin-helper-functions
- Created: 2020-04-16T07:47:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T09:58:53.000Z (almost 5 years ago)
- Last Synced: 2024-11-15T17:41:50.418Z (3 months ago)
- Topics: definitions, figma, figma-plugins, typings
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Figma plugin types [DEPRECATED]
[![npm](https://img.shields.io/npm/v/@figma-plugin/types?logo=npm&cacheSeconds=1800)](https://www.npmjs.com/package/@figma-plugin/types)## ⚠️⚠️⚠️
Scince **May 8, 2020** official package is available here [@figma/plugin-typings](https://www.npmjs.com/package/@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](https://www.figma.com/plugin-docs/api/typings/) file to [@figma-plugin/types](https://www.npmjs.com/package/@figma-plugin/types) NPM module.
## Usage
1. Installation
```sh
npm i --save-dev @figma-plugin/types
# or
yarn add -D @figma-plugin/types
```
2. Configure _tsconfig.json_
```js
{
"compilerOptions": {
"moduleResolution": "node"
}
}
```
3. Create _index.d.ts_ in the root of project and import definitions to apply it globally:
```ts
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.