Fix types for DialogManagerAndroid
Summary: We doesn;t support `onError: (string) => void,` is codegen so I change it to `onError: (error: string) => void,` Reviewed By: TheSavior Differential Revision: D16284628 fbshipit-source-id: a80a5da54823c827aa0bbe1f1f99613a35605489
This commit is contained in:
Родитель
a70a8d0e75
Коммит
7a62e7e333
|
@ -41,7 +41,7 @@ export interface Spec extends TurboModule {
|
|||
|};
|
||||
+showAlert: (
|
||||
config: DialogOptions,
|
||||
onError: (string) => void,
|
||||
onError: (error: string) => void,
|
||||
onAction: (action: DialogAction, buttonKey?: DialogButtonKey) => void,
|
||||
) => void;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче