figma / plugin-typings

Typings for the Figma Plugin API
MIT License
195 stars 45 forks source link

Fix typing bug where we declared DropFile functions as properties #116

Closed james04321 closed 2 years ago

james04321 commented 2 years ago

The getBytesAsync and getTextAsync functions in the DropFile interface in the plugin API were incorrectly declared as properties when they are actually supposed to be functions. This PR fixes the typings.