Next.js Discord

Discord Forum

Missing server action types?

Unanswered
Himalayan posted this in #help-forum
Open in Discord
Avatar
HimalayanOP
Hey i copied the "createInvoice" example from the nextjs docs https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#examples, but its expecting action to be only a string or undefined?

next: 14.0.4
react: 18.2.0
Image

0 Replies