Skip to content

Commit

Permalink
Merge pull request #271 from figma/plugin-typings-2024-01-10
Browse files Browse the repository at this point in the history
updating setBoundVariables typings
  • Loading branch information
grace-figma authored Jan 10, 2024
2 parents fb5b069 + ee7bb17 commit f3294aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,17 @@ interface VariablesAPI {
setBoundVariableForPaint(
paint: SolidPaint,
field: VariableBindablePaintField,
variable: Variable,
variable: Variable | null,
): SolidPaint
setBoundVariableForEffect(
effect: Effect,
field: VariableBindableEffectField,
variable: Variable,
variable: Variable | null,
): Effect
setBoundVariableForLayoutGrid(
layoutGrid: LayoutGrid,
field: VariableBindableLayoutGridField,
variable: Variable,
variable: Variable | null,
): LayoutGrid
importVariableByKeyAsync(key: string): Promise<Variable>
}
Expand Down

0 comments on commit f3294aa

Please sign in to comment.