Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use server diagnostics for type exports #74256

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

jrandolf
Copy link

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.

@ijjk
Copy link
Member

ijjk commented Dec 23, 2024

Allow CI Workflow Run

  • approve CI run for commit: 5121176

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants