Making IFileChange readonly

This commit is contained in:
Matt Bierner
2019-09-25 18:30:03 -07:00
parent af4e34851f
commit c25e7e90f0
10 changed files with 27 additions and 22 deletions

View File

@@ -123,10 +123,10 @@ export class MainThreadFileSystem implements MainThreadFileSystemShape {
class RemoteFileSystemProvider implements IFileSystemProvider {
private readonly _onDidChange = new Emitter<IFileChange[]>();
private readonly _onDidChange = new Emitter<readonly IFileChange[]>();
private readonly _registration: IDisposable;
readonly onDidChangeFile: Event<IFileChange[]> = this._onDidChange.event;
readonly onDidChangeFile: Event<readonly IFileChange[]> = this._onDidChange.event;
readonly capabilities: FileSystemProviderCapabilities;
readonly onDidChangeCapabilities: Event<void> = Event.None;