mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Marking arrays as readonly
This commit is contained in:
@@ -329,7 +329,7 @@ export default class BufferSyncSupport extends Disposable {
|
||||
|
||||
constructor(
|
||||
client: ITypeScriptServiceClient,
|
||||
modeIds: string[]
|
||||
modeIds: readonly string[]
|
||||
) {
|
||||
super();
|
||||
this.client = client;
|
||||
|
||||
@@ -121,7 +121,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
private readonly onDidChangeTypeScriptVersion: (version: TypeScriptVersion) => void,
|
||||
public readonly pluginManager: PluginManager,
|
||||
private readonly logDirectoryProvider: LogDirectoryProvider,
|
||||
allModeIds: string[]
|
||||
allModeIds: readonly string[]
|
||||
) {
|
||||
super();
|
||||
this.pathSeparator = path.sep;
|
||||
|
||||
Reference in New Issue
Block a user