From 6fc535f32e21d8bba99bd02a01720e50946db7e9 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Sat, 20 Apr 2019 17:28:10 +0200 Subject: [PATCH] Remove `type` from `Alert.alert` (#34881) As can be seen from the function signature, the `Alert.alert` function does not accept the `type` argument. --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 9e8e378cf3..1615d54c1b 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -7087,7 +7087,7 @@ interface AlertOptions { * ``` */ export interface AlertStatic { - alert: (title: string, message?: string, buttons?: AlertButton[], options?: AlertOptions, type?: string) => void; + alert: (title: string, message?: string, buttons?: AlertButton[], options?: AlertOptions) => void; } /**