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

[Flight] Warn if this argument is passed to .bind of a Server Reference #28380

Merged
merged 1 commit into from
Feb 19, 2024

Commits on Feb 19, 2024

  1. Warn if this argument is passed to .bind of a Server Reference

    This won't ever be serialized and is likely just a mistake.
    
    This should be covered by the "use server" compiler since it ensures that
    something that accepts a "this" won't be allowed to compile and if it
    doesn't accept it, TypeScript should ideally forbid it to be passed.
    sebmarkbage committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    976da3e View commit details
    Browse the repository at this point in the history