From 49362d8e02f00619fe6bd6f0733d8533abc3e74d Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Mon, 3 Sep 2018 15:46:25 +0200 Subject: [PATCH] React Native: Tightened type of WebViewUriSource.method. --- 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 6a54805118..55f5938689 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -2252,7 +2252,7 @@ export interface WebViewUriSource { * The HTTP Method to use. Defaults to GET if not specified. * NOTE: On Android, only GET and POST are supported. */ - method?: string; + method?: "GET" | "POST"; /* * Additional HTTP headers to send with the request.