figma-api icon indicating copy to clipboard operation
figma-api copied to clipboard

fix: make getImageApi scale optional

Open georgialoper opened this issue 1 year ago • 1 comments

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.

georgialoper avatar Feb 16 '24 21:02 georgialoper

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.

georgialoper avatar Mar 06 '24 16:03 georgialoper