mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix up Flow syntax
This commit is contained in:
@@ -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