next.js
7b8fc758
- Fix `use server` diagnostics for type exports (#74256)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
361 days ago
Fix `use server` diagnostics for type exports (#74256) ### What? NextJS should not throw `The "use server" file can only export async functions.` for type exports. ### Why? Because type exports are just a compile time abstraction.
References
#74256 - Fix `use server` diagnostics for type exports
Author
jrandolf
Parents
8ee79b82
Loading