File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
packages/react-native/src/types Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -461,8 +461,18 @@ declare global {
461461 | 'text' ;
462462
463463 interface URL {
464+ hash : string ;
465+ host : string ;
466+ hostname : string ;
464467 href : string ;
468+ readonly origin : string ;
469+ password : string ;
470+ pathname : string ;
471+ port : string ;
472+ protocol : string ;
473+ search : string ;
465474 readonly searchParams : URLSearchParams ;
475+ username : string ;
466476
467477 toJSON ( ) : string ;
468478 toString ( ) : string ;
@@ -479,9 +489,20 @@ declare global {
479489 * Based on definitions of lib.dom and lib.dom.iterable
480490 */
481491 interface URLSearchParams {
492+ readonly size : number ;
482493 append ( key : string , value : string ) : void ;
494+ delete ( name : string ) : void ;
495+ get ( name : string ) : string | null ;
496+ getAll ( name : string ) : string [ ] ;
497+ has ( name : string ) : boolean ;
498+ set ( name : string , value : string ) : void ;
499+ sort ( ) : void ;
500+ forEach ( callbackfn : ( value : string , key : string , parent : URLSearchParams ) => void ) : void ;
483501 toString ( ) : string ;
484502
503+ entries ( ) : IterableIterator < [ string , string ] > ;
504+ keys ( ) : IterableIterator < string > ;
505+ values ( ) : IterableIterator < string > ;
485506 [ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
486507 }
487508
You can’t perform that action at this time.
0 commit comments