Skip to main content
Feb 11, 2024 12:00 PM UTC
Question

openExternal doesn't exist on figma PluginAPI

Hi,
I’d like to use the openExternal in dev mode. but can’t see it available.
Any idea why?

figma.com
This topic has been closed for replies.

3 replies

tank666
Feb 11, 2024 12:27 PM UTC

Could you add more context? What do you mean by “but can’t see it available”?

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
TaylorTAuthor
Feb 11, 2024 4:06 PM UTC

TS2339: Property ‘openExternal’ does not exist on type ‘PluginAPI’.
When looking at the PluginAPI declaration, I can’t find that function.
I’m using create-Figma-plugin https://yuanqing.github.io/create-figma-plugin/

tank666
Feb 11, 2024 4:18 PM UTC

Update the typings file.

figma.com
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank