From 1e648a4bd2e74ac4910d6c6c96d4908233c5f81e Mon Sep 17 00:00:00 2001 From: "qlyan(benben)" Date: Mon, 15 May 2017 12:46:34 +0800 Subject: [PATCH] add optional args for AlertIOSButton interface --- 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 dcaeb52da8..eed16db158 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6297,7 +6297,7 @@ export interface AdSupportIOSStatic { interface AlertIOSButton { text: string - onPress?: () => void + onPress?: (message?: string) => void style?: "default" | "cancel" | "destructive" }