mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Fix up Flow syntax
This commit is contained in:
1 parent
8de9c6c12c
commit
b0b9f37960
1 file changed
+1
-1
@@ -90,7 +90,7 @@ function logCapturedError(capturedError: CapturedError): void {
|
||||
}
|
||||
|
||||
exports.injection = {
|
||||
injectDialog(fn: (CapturedError) => void) {
|
||||
injectDialog(fn: (e: CapturedError) => void) {
|
||||
invariant(
|
||||
showDialog === emptyFunction,
|
||||
'The custom dialog was already injected.',
|
||||
|
||||
Reference in new issue
Block a user