UNPKG

next-form-action

Version:

A TypeScript library for handling server actions in Next.js with type-safe error handling and callbacks

4 lines 249 B
export type { Action, ActionState } from "@/types"; export { ActionError, ActionResponse, ActionSuccess, createAction, error, success } from "@/server"; export { useAction, type UseActionOptions } from "@/client"; //# sourceMappingURL=index.d.ts.map