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
935 stars 89 forks source link

type error on figma.loadAllPagesAsync() #231

Closed kjfeng closed 3 months ago

kjfeng commented 3 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 3 months ago

Nevermind, forgot to run npm update