Reference

ServerAction

Function that can be invoked through a server action request.

Signature

type ServerAction = (...args: unknown[]): unknown | Promise<unknown>