mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +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