mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Merge pull request #28602 from tn0502/tn0502/tighten-WebViewUriSource-method
React Native: Tightened type of WebViewUriSource.method.
This commit is contained in:
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user