@@ -181,13 +181,13 @@ export type FileMapPluginInitOptions<
181181 ) : Iterable < {
182182 baseName : string ,
183183 canonicalPath : string ,
184- + pluginData : ?PerFileData ,
184+ readonly pluginData : ?PerFileData ,
185185 } > ,
186186 lookup (
187187 mixedPath : string ,
188188 ) :
189189 | { exists: false }
190- | { exists : true , type : 'f' , + pluginData : PerFileData }
190+ | { exists : true , type : 'f' , readonly pluginData : PerFileData }
191191 | { exists : true , type : 'd' } ,
192192 } > ,
193193 pluginState : ?SerializableState ,
@@ -215,7 +215,7 @@ export interface FileMapPlugin<
215215 in SerializableState extends void | V8Serializable = void | V8Serializable ,
216216 in PerFileData extends void | V8Serializable = void | V8Serializable ,
217217> {
218- + name : string ;
218+ readonly name : string ;
219219 initialize (
220220 initOptions : FileMapPluginInitOptions < SerializableState , PerFileData > ,
221221 ) : Promise < void > ;
@@ -460,12 +460,12 @@ export interface FileSystemListener {
460460}
461461
462462export interface ReadonlyFileSystemChanges < out T = FileMetadata > {
463- + addedDirectories : Iterable < CanonicalPath > ;
464- + removedDirectories : Iterable < CanonicalPath > ;
463+ readonly addedDirectories : Iterable < CanonicalPath > ;
464+ readonly removedDirectories : Iterable < CanonicalPath > ;
465465
466- + addedFiles : Iterable < Readonly < [ CanonicalPath , T ] >> ;
467- + modifiedFiles : Iterable < Readonly < [ CanonicalPath , T ] >> ;
468- + removedFiles : Iterable < Readonly < [ CanonicalPath , T ] >> ;
466+ readonly addedFiles : Iterable < Readonly < [ CanonicalPath , T ] >> ;
467+ readonly modifiedFiles : Iterable < Readonly < [ CanonicalPath , T ] >> ;
468+ readonly removedFiles : Iterable < Readonly < [ CanonicalPath , T ] >> ;
469469}
470470
471471export interface MutableFileSystem extends FileSystem {
0 commit comments