figma-api
figma-api copied to clipboard
fix: make getImageApi scale optional
According to the Figma REST API documentation, the scale
and format
query params are optional for the images endpoint. This updates the getImageApi
function's types to reflect this.
This package seems to be no longer maintained... For anyone looking for types that actually mirror the Figma REST API, check out Figma's @figma/rest-api-spec
package.