next.js
977f5ff7 - fix: Loose Server Actions runtime check (#63200)

Commit
1 year ago
fix: Loose Server Actions runtime check (#63200) Addresses some feedback in #62821. This will re-allow implementations like: ```js 'use server' export const f = wrapper(async () => {}) ``` Where `wrapper` creates a sync function that returns a promise. Although it will still be silently converted to an async function under the hood. Closes NEXT-2790
Author
Parents
Loading