Marking that documents/workspaces arrays cannot be mutated

This commit is contained in:
Matt Bierner
2020-02-10 16:57:41 -08:00
parent 498deeb4bc
commit efb781e5be
4 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ interface ExperimentalConfig {
};
}
export function getCustomDataPathsInAllWorkspaces(workspaceFolders: WorkspaceFolder[] | undefined): string[] {
export function getCustomDataPathsInAllWorkspaces(workspaceFolders: readonly WorkspaceFolder[] | undefined): string[] {
const dataPaths: string[] = [];
if (!workspaceFolders) {