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:
Michał Osadnik 2019-07-17 06:13:28 -07:00 коммит произвёл Facebook Github Bot
Родитель a70a8d0e75
Коммит 7a62e7e333
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}