Skip to content

Commit

Permalink
add typings for inferredVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
natalia-figma committed Aug 15, 2023
1 parent 6c35fa6 commit a699341
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,12 @@ interface SceneNodeMixin {
}
}
setBoundVariable(field: VariableBindableNodeField, variableId: string): void
readonly inferredVariables?: {
readonly [field in VariableBindableNodeField]?: VariableAlias[]
} & {
readonly fills?: VariableAlias[][]
readonly strokes?: VariableAlias[][]
}
resolvedVariableModes: {
[collectionId: string]: string
}
Expand Down

0 comments on commit a699341

Please sign in to comment.