Actions Typescript

Hello!

I’ve been trying the actions editor that the help says that it features typescript, but I can’t make it work. Is there any way to write actions in typescript?

I’ve written this action with Node16 and it does not compile, however the editor understands perfectly the interfaces of the objects from Auth0 for example:

Types that work because they are from Auth0

Types that don’t work because they are from a dependency:

Thank you for your help

4 Likes

Hey there!

As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

Learn more here!