@figma/plugin-typings
Advanced tools
Comparing version 1.74.0 to 1.75.0
{ | ||
"name": "@figma/plugin-typings", | ||
"version": "1.74.0", | ||
"version": "1.75.0", | ||
"description": "Typings for the Figma Plugin API", | ||
@@ -5,0 +5,0 @@ "main": "", |
@@ -1771,2 +1771,3 @@ /* plugin-typings are auto-generated. Do not update them directly. See plugin-docs/ for instructions. */ | ||
| 'STROKE_COLOR' | ||
declare type CodeSyntaxPlatform = 'WEB' | 'ANDROID' | 'iOS' | ||
interface Variable { | ||
@@ -1792,2 +1793,7 @@ readonly id: string | ||
scopes: Array<VariableScope> | ||
readonly codeSyntax: { | ||
[platform in CodeSyntaxPlatform]?: string | ||
} | ||
setVariableCodeSyntax(platform: CodeSyntaxPlatform, value: string): void | ||
removeVariableCodeSyntax(platform: CodeSyntaxPlatform): void | ||
} | ||
@@ -1794,0 +1800,0 @@ interface VariableCollection { |
65983
2058