![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@figma/plugin-typings
Advanced tools
This repository contains the typings for the Figma Plugin API.
Installation
npm i --save-dev @figma/plugin-typings
# or
yarn add -D @figma/plugin-typings
Configure tsconfig.json
{
"compilerOptions": {
"typeRoots": [
"./node_modules/@types",
"./node_modules/@figma"
]
}
}
The configuration above is needed for the TypeScript compiler to use type definitions found in both ./node_modules/@types
and ./node_modules/@figma
. Normally, most external type definitions are from DefinitelyTyped and are installed in /@types
, which included by TypeScript by default. Since we host the plugin typings separately, they are installed outside in /@figma
instead.
Types should become globally available without needing to use import statements. We do it this way because the plugin API is part of the host environment, as opposed to being a package that a plugin includes.
Plugin API releases have the format "Version X, Update Y". Equivalent tags are created in this repository as v<x>.<y>
. Note that not all API releases include API changes, some are just bug fixes. Therefore, some typings versions are skipped.
FAQs
Typings for the Figma Plugin API
The npm package @figma/plugin-typings receives a total of 15,438 weekly downloads. As such, @figma/plugin-typings popularity was classified as popular.
We found that @figma/plugin-typings demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 48 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.