Merge pull request #28602 from tn0502/tn0502/tighten-WebViewUriSource-method

React Native: Tightened type of WebViewUriSource.method.
This commit is contained in:
Eloy Durán
2018-09-03 18:51:25 +02:00
committed by GitHub
+1 -1
View File
@@ -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.