Skip to content

Commit 1f18cc3

Browse files
Use Readonly and ReadonlyArray
1 parent 989ef8b commit 1f18cc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/common/vscode/file-path-discovery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export abstract class FilePathDiscovery<T extends PathData> extends Discovery {
7272
this.push(this.watcher.onDidChange(this.fileChanged.bind(this)));
7373
}
7474

75-
protected getPathData(): readonly T[] {
75+
protected getPathData(): ReadonlyArray<Readonly<T>> {
7676
return this.pathData;
7777
}
7878

0 commit comments

Comments
 (0)