Skip to content

Commit c456912

Browse files
committed
[Flight] Warn if this argument is passed to .bind of a Server Reference (#28380)
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. So maybe this is unnecessary. DiffTrain build for [65a0e2b](65a0e2b)
1 parent 94683ff commit c456912

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiled/facebook-www/REVISION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9444c51c7e44936c24e1f44db905cfd45c51cff3
1+
65a0e2b25ec4642f83c32d7599b5252c3955a60b

compiled/facebook-www/__test_utils__/ReactAllWarnings.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)