Marking arrays as readonly
This commit is contained in:
parent
5d3c86ad99
commit
c8516dd7e8
|
@ -329,7 +329,7 @@ export default class BufferSyncSupport extends Disposable {
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
client: ITypeScriptServiceClient,
|
client: ITypeScriptServiceClient,
|
||||||
modeIds: string[]
|
modeIds: readonly string[]
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
this.client = client;
|
this.client = client;
|
||||||
|
|
|
@ -121,7 +121,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||||
private readonly onDidChangeTypeScriptVersion: (version: TypeScriptVersion) => void,
|
private readonly onDidChangeTypeScriptVersion: (version: TypeScriptVersion) => void,
|
||||||
public readonly pluginManager: PluginManager,
|
public readonly pluginManager: PluginManager,
|
||||||
private readonly logDirectoryProvider: LogDirectoryProvider,
|
private readonly logDirectoryProvider: LogDirectoryProvider,
|
||||||
allModeIds: string[]
|
allModeIds: readonly string[]
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
this.pathSeparator = path.sep;
|
this.pathSeparator = path.sep;
|
||||||
|
|
Loading…
Reference in a new issue