UNPKG

next

Version:

The React Framework

10 lines (9 loc) 355 B
export default function ensureServerEntryExports(actions) { for(let i = 0; i < actions.length; i++){ const action = actions[i]; if (typeof action !== "function") { throw new Error(`A "use server" file can only export async functions, found ${typeof action}.`); } } } //# sourceMappingURL=action-validate.js.map