figma / plugin-typings

Typings for the Figma Plugin API
MIT License
190 stars 44 forks source link

Fix deprecated createVariable call by using collection node #275

Closed kjk7034 closed 6 months ago

kjk7034 commented 6 months ago

Solved:

  1. "Calling createVariable with a collection id is deprecated. Please pass the collection node instead."
  2. "Calling setBoundVariable with a variable id is deprecated. Please pass the variable node instead."

https://github.com/figma/plugin-typings/issues/276

jefflee-figma commented 6 months ago

Thanks for this! We'll be including this change in a more comprehensive PR: https://github.com/figma/plugin-typings/pull/277