Marking arrays as readonly
This commit is contained in:
parent
5d3c86ad99
commit
c8516dd7e8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue