yuanqing / create-figma-plugin

:battery: The comprehensive toolkit for developing plugins and widgets for Figma and FigJam
https://yuanqing.github.io/create-figma-plugin/
MIT License
948 stars 91 forks source link

type error on figma.loadAllPagesAsync() #231

Closed kjfeng closed 4 months ago

kjfeng commented 4 months ago

I'm finally getting around to updating my plugin to dynamically load pages and am following Figma's instructions here. However, when I try to use figma.loadAllPagesAsync(), I'm getting a type error Property 'loadAllPagesAsync' does not exist on type 'PluginAPI'. Have the dynamic loading features been incorporated into the package yet?

kjfeng commented 4 months ago

Nevermind, forgot to run npm update