Closed mikhin closed 5 months ago
oh, I think I got the repository wrong, this should probably have been posted here - https://github.com/figma/widget-typings
Thanks for the report. This is a bug with the Plugin API, rather than the plugin typings specifically. We've tracked this issue internally. Since this isn't a typings bug, I'm closing the issue.
I am currently experiencing an issue with the
NotificationOptions
interface in my TypeScript project. Thebutton
property, which is supposed to trigger an action when clicked, does not seem to be working as expected.Here is the interface definition for reference:
When I do not pass the
button
property, thenotify
function works well and the notification is displayed. However, when I pass thebutton
property, thenotify
function does not show any notification.Any help or guidance on this issue would be greatly appreciated.