@@ -775,36 +775,9 @@ declare var Date: {
775
775
now ( ) : number ;
776
776
}
777
777
778
- interface RegExpExecArray {
779
- [ index : number ] : string ;
780
- length : number ;
781
-
778
+ interface RegExpExecArray extends Array < string > {
782
779
index : number ;
783
780
input : string ;
784
-
785
- toString ( ) : string ;
786
- toLocaleString ( ) : string ;
787
- concat ( ...items : string [ ] [ ] ) : string [ ] ;
788
- join ( separator ?: string ) : string ;
789
- pop ( ) : string ;
790
- push ( ...items : string [ ] ) : number ;
791
- reverse ( ) : string [ ] ;
792
- shift ( ) : string ;
793
- slice ( start ?: number , end ?: number ) : string [ ] ;
794
- sort ( compareFn ?: ( a : string , b : string ) => number ) : string [ ] ;
795
- splice ( start : number ) : string [ ] ;
796
- splice ( start : number , deleteCount : number , ...items : string [ ] ) : string [ ] ;
797
- unshift ( ...items : string [ ] ) : number ;
798
-
799
- indexOf ( searchElement : string , fromIndex ?: number ) : number ;
800
- lastIndexOf ( searchElement : string , fromIndex ?: number ) : number ;
801
- every ( callbackfn : ( value : string , index : number , array : string [ ] ) => boolean , thisArg ?: any ) : boolean ;
802
- some ( callbackfn : ( value : string , index : number , array : string [ ] ) => boolean , thisArg ?: any ) : boolean ;
803
- forEach ( callbackfn : ( value : string , index : number , array : string [ ] ) => void , thisArg ?: any ) : void ;
804
- map ( callbackfn : ( value : string , index : number , array : string [ ] ) => any , thisArg ?: any ) : any [ ] ;
805
- filter ( callbackfn : ( value : string , index : number , array : string [ ] ) => boolean , thisArg ?: any ) : string [ ] ;
806
- reduce ( callbackfn : ( previousValue : any , currentValue : any , currentIndex : number , array : string [ ] ) => any , initialValue ?: any ) : any ;
807
- reduceRight ( callbackfn : ( previousValue : any , currentValue : any , currentIndex : number , array : string [ ] ) => any , initialValue ?: any ) : any ;
808
781
}
809
782
810
783
0 commit comments