mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
The issues with the current export statement validation for app router pages are documented in the added fixtures, see also the inline comments in the diff.
12 lines
144 B
JavaScript
12 lines
144 B
JavaScript
// app/send.ts
|
|
'use server'
|
|
|
|
import 'db'
|
|
|
|
console.log('side effect')
|
|
|
|
const foo = async () => {
|
|
console.log('function body')
|
|
}
|
|
export { foo }
|