I’m trying to use figma.commitUndo()
in my plugin. When I added the latest 1.22.0
of @figma/plugin-typings
I got the error Property 'commitUndo' does not exist on type 'PluginAPI'
. When I added the previous version 1.19.3
it worked just fine.
Could there possibly be a bug where commitUndo
isn’t in the latest published version of the package? When I looked at index.d.ts
in node_modules
, commitUndo
wasn’t there.