jemgold / figma-js

Little wrapper (+ types) for the Figma API
https://jongold.github.io/figma-js/
MIT License
490 stars 47 forks source link

Update types based on current API response #13

Closed chrisdrackett closed 5 years ago

chrisdrackett commented 5 years ago

Updating types based on what the Figma API currently returns

Types don't sync with current API response

Types should be closer to current

chrisdrackett commented 5 years ago

I've made a couple more updates here:

I had missed the grid type of style, I've added it.

In the process of adding grid I realized that styles can be used on Frame nodes. I've updated this node type and in the process deprecated backgroundColor in favor of the new and improved background prop.

chrisdrackett commented 5 years ago

Updating this PR description as I'm touching a lot more types now

chrisdrackett commented 5 years ago

closing in favor of #15