提交 c8516dd7 编写于 作者: M Matt Bierner

Marking arrays as readonly

上级 5d3c86ad
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册