@@ -1887,7 +1887,7 @@ declare module 'fs' {
18871887 */
18881888 exclude ?:
18891889 | ( ( fileName : Node$Conditional < WithFileTypes , Dirent, string > ) => boolean )
1890- | $ReadOnlyArray < string> ,
1890+ | ReadonlyArray < string> ,
18911891 ...
18921892 } > ;
18931893
@@ -1905,12 +1905,12 @@ declare module 'fs' {
19051905 * @since v22.0.0
19061906 */
19071907 declare function glob (
1908- pattern : string | $ReadOnlyArray < string > ,
1908+ pattern : string | ReadonlyArray < string > ,
19091909 callback : ( err : ?ErrnoError , matches : Array < string > ) => void ,
19101910 ) : void ;
19111911
19121912 declare function glob < WithFileTypes : boolean = false > (
1913- pattern : string | $ReadOnlyArray < string > ,
1913+ pattern : string | ReadonlyArray < string > ,
19141914 options : GlobOptions < WithFileTypes > ,
19151915 callback : (
19161916 err : ?ErrnoError ,
@@ -1928,7 +1928,7 @@ declare module 'fs' {
19281928 * @returns paths of files that match the pattern.
19291929 */
19301930 declare function globSync < WithFileTypes : boolean = false > (
1931- pattern : string | $ReadOnlyArray < string > ,
1931+ pattern : string | ReadonlyArray < string > ,
19321932 options ?: GlobOptions < WithFileTypes > ,
19331933 ) : Node$Conditional < WithFileTypes , Array < Dirent > , Array < string >> ;
19341934
@@ -2142,7 +2142,7 @@ declare module 'fs' {
21422142 mtime : number | string | Date ,
21432143 ) : Promise < void > ,
21442144 glob < WithFileTypes : boolean = false > (
2145- pattern : string | $ReadOnlyArray < string > ,
2145+ pattern : string | ReadonlyArray < string > ,
21462146 options ?: GlobOptions < WithFileTypes > ,
21472147 ) : Node$Conditional <
21482148 WithFileTypes ,
@@ -2292,7 +2292,7 @@ declare class http$Agent<+SocketT = net$Socket> {
22922292 constructor ( options : http$agentOptions ) : void ;
22932293 destroy ( ) : void ;
22942294 // $FlowFixMe[incompatible-variance]
2295- freeSockets : { [ name : string ] : $ReadOnlyArray < SocketT > , ...} ;
2295+ freeSockets : { [ name : string ] : ReadonlyArray < SocketT > , ...} ;
22962296 getName ( options : {
22972297 host : string ,
22982298 port : number ,
@@ -2302,9 +2302,9 @@ declare class http$Agent<+SocketT = net$Socket> {
23022302 maxFreeSockets : number ;
23032303 maxSockets : number ;
23042304 // $FlowFixMe[incompatible-variance]
2305- requests : { [ name : string ] : $ReadOnlyArray < http$ClientRequest < SocketT >> , ...} ;
2305+ requests : { [ name : string ] : ReadonlyArray < http$ClientRequest < SocketT >> , ...} ;
23062306 // $FlowFixMe[incompatible-variance]
2307- sockets : { [ name : string ] : $ReadOnlyArray < SocketT > , ...} ;
2307+ sockets : { [ name : string ] : ReadonlyArray < SocketT > , ...} ;
23082308}
23092309
23102310declare class http$IncomingMessage < SocketT = net$Socket >
@@ -2968,11 +2968,11 @@ declare module 'perf_hooks' {
29682968 ) => void ;
29692969
29702970 declare export class PerformanceObserver {
2971- static supportedEntryTypes : $ReadOnlyArray < EntryType > ;
2971+ static supportedEntryTypes : ReadonlyArray < EntryType > ;
29722972 constructor ( callback : PerformanceObserverCallback ) : this ;
29732973 observe (
29742974 options : Readonly < {
2975- entryTypes ?: $ReadOnlyArray < EntryType > ,
2975+ entryTypes ?: ReadonlyArray < EntryType > ,
29762976 type ?: EntryType ,
29772977 buffered ?: boolean ,
29782978 } > ,
@@ -3461,7 +3461,7 @@ declare module 'stream' {
34613461 options?: StreamPipelineOptions,
34623462 ): Promise< void > ,
34633463 pipeline(
3464- streams: $ReadOnlyArray < stream$Stream > ,
3464+ streams: ReadonlyArray < stream$Stream > ,
34653465 options?: StreamPipelineOptions,
34663466 ): Promise< void > ,
34673467 ...
@@ -3900,7 +3900,7 @@ declare module 'url' {
39003900 } ;
39013901
39023902 declare type url$URLPatternResult = {
3903- inputs : $ReadOnlyArray < string | url$URLPatternInit > ,
3903+ inputs : ReadonlyArray < string | url$URLPatternInit > ,
39043904 protocol : url$URLPatternComponentResult ,
39053905 username : url$URLPatternComponentResult ,
39063906 password : url$URLPatternComponentResult ,
@@ -4104,8 +4104,8 @@ declare module 'util' {
41044104
41054105 declare type util$DiffEntry = [ operation : - 1 | 0 | 1 , value : string ] ;
41064106 declare function diff (
4107- actual : string | $ReadOnlyArray < string > ,
4108- expected : string | $ReadOnlyArray < string > ,
4107+ actual : string | ReadonlyArray < string > ,
4108+ expected : string | ReadonlyArray < string > ,
41094109 ) : Array < util$DiffEntry > ;
41104110
41114111 declare function getSystemErrorMessage(err: number): string;
@@ -4224,7 +4224,7 @@ declare module 'util' {
42244224 | ForegroundColors
42254225 | BackgroundColors
42264226 | Modifiers
4227- | $ReadOnlyArray < ForegroundColors | BackgroundColors | Modifiers > ,
4227+ | ReadonlyArray < ForegroundColors | BackgroundColors | Modifiers > ,
42284228 text: string,
42294229 options?: Readonly< {
42304230 stream ?: ?stream$Stream ,
0 commit comments