plugin-typings
plugin-typings copied to clipboard
Add support for console.dir()
See https://developer.mozilla.org/de/docs/Web/API/Console/dir
If there's anything i should change or add please let me know.
Adding this in the typings won't do anything, it needs to be implemented in the JS sandbox that Figma is using.
Try adding console.dir to the plugin and running it, it would throw an error:

That would be a welcome addition though, feel free to add this suggestion: https://forum.figma.com/c/plugin-api/feedback/36
Thank you very much - i will pick it up!
Thanks for the feedback! I've noted this on our backlog, so closing this PR out.