mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
Update LKG.
This commit is contained in:
parent
7dac8469c2
commit
d795b8b403
2
lib/protocol.d.ts
vendored
2
lib/protocol.d.ts
vendored
@ -1024,6 +1024,8 @@ declare namespace ts.server.protocol {
|
||||
command: CommandTypes.ConfigurePlugin;
|
||||
arguments: ConfigurePluginRequestArguments;
|
||||
}
|
||||
interface ConfigurePluginResponse extends Response {
|
||||
}
|
||||
/**
|
||||
* Information found in an "open" request.
|
||||
*/
|
||||
|
||||
@ -60,7 +60,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.versionMajorMinor = "3.4";
|
||||
ts.version = ts.versionMajorMinor + ".2";
|
||||
ts.version = ts.versionMajorMinor + ".3";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
ts.emptyArray = [];
|
||||
|
||||
@ -85,7 +85,7 @@ var ts;
|
||||
// If changing the text in this section, be sure to test `configureNightly` too.
|
||||
ts.versionMajorMinor = "3.4";
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = ts.versionMajorMinor + ".2";
|
||||
ts.version = ts.versionMajorMinor + ".3";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
/* @internal */
|
||||
@ -125708,12 +125708,13 @@ var ts;
|
||||
var ExternalProject = /** @class */ (function (_super) {
|
||||
__extends(ExternalProject, _super);
|
||||
/*@internal*/
|
||||
function ExternalProject(externalProjectName, projectService, documentRegistry, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath) {
|
||||
function ExternalProject(externalProjectName, projectService, documentRegistry, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath, pluginConfigOverrides) {
|
||||
var _this = _super.call(this, externalProjectName, ProjectKind.External, projectService, documentRegistry,
|
||||
/*hasExplicitListOfFiles*/ true, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, projectService.host, ts.getDirectoryPath(projectFilePath || ts.normalizeSlashes(externalProjectName))) || this;
|
||||
_this.externalProjectName = externalProjectName;
|
||||
_this.compileOnSaveEnabled = compileOnSaveEnabled;
|
||||
_this.excludedFiles = [];
|
||||
_this.enableGlobalPlugins(_this.getCompilerOptions(), pluginConfigOverrides);
|
||||
return _this;
|
||||
}
|
||||
ExternalProject.prototype.updateGraph = function () {
|
||||
@ -126934,7 +126935,8 @@ var ts;
|
||||
ProjectService.prototype.createExternalProject = function (projectFileName, files, options, typeAcquisition, excludedFiles) {
|
||||
var compilerOptions = convertCompilerOptions(options);
|
||||
var project = new server.ExternalProject(projectFileName, this, this.documentRegistry, compilerOptions,
|
||||
/*lastFileExceededProgramSize*/ this.getFilenameForExceededTotalSizeLimitForNonTsFiles(projectFileName, compilerOptions, files, externalFilePropertyReader), options.compileOnSave === undefined ? true : options.compileOnSave);
|
||||
/*lastFileExceededProgramSize*/ this.getFilenameForExceededTotalSizeLimitForNonTsFiles(projectFileName, compilerOptions, files, externalFilePropertyReader), options.compileOnSave === undefined ? true : options.compileOnSave,
|
||||
/*projectFilePath*/ undefined, this.currentPluginConfigOverrides);
|
||||
project.excludedFiles = excludedFiles;
|
||||
this.addFilesToNonInferredProject(project, files, externalFilePropertyReader, typeAcquisition);
|
||||
this.externalProjects.push(project);
|
||||
@ -129071,6 +129073,7 @@ var ts;
|
||||
},
|
||||
_a[server.CommandNames.ConfigurePlugin] = function (request) {
|
||||
_this.configurePlugin(request.arguments);
|
||||
_this.doOutput(/*info*/ undefined, server.CommandNames.ConfigurePlugin, request.seq, /*success*/ true);
|
||||
return _this.notRequired();
|
||||
},
|
||||
_a));
|
||||
@ -131332,7 +131335,7 @@ var ts;
|
||||
process.env.USERPROFILE ||
|
||||
(process.env.HOMEDRIVE && process.env.HOMEPATH && ts.normalizeSlashes(process.env.HOMEDRIVE + process.env.HOMEPATH)) ||
|
||||
os.tmpdir();
|
||||
return ts.combinePaths(ts.combinePaths(ts.normalizeSlashes(basePath), "Microsoft/TypeScript"), ts.versionMajorMinor);
|
||||
return ts.combinePaths(ts.combinePaths(ts.normalizeSlashes(basePath), "Microsoft/TypeScript"), ts.version);
|
||||
}
|
||||
case "openbsd":
|
||||
case "freebsd":
|
||||
@ -131340,7 +131343,7 @@ var ts;
|
||||
case "linux":
|
||||
case "android": {
|
||||
var cacheLocation = getNonWindowsCacheLocation(process.platform === "darwin");
|
||||
return ts.combinePaths(ts.combinePaths(cacheLocation, "typescript"), ts.versionMajorMinor);
|
||||
return ts.combinePaths(ts.combinePaths(cacheLocation, "typescript"), ts.version);
|
||||
}
|
||||
default:
|
||||
return ts.Debug.fail("unsupported platform '" + process.platform + "'");
|
||||
|
||||
2
lib/tsserverlibrary.d.ts
vendored
2
lib/tsserverlibrary.d.ts
vendored
@ -6748,6 +6748,8 @@ declare namespace ts.server.protocol {
|
||||
command: CommandTypes.ConfigurePlugin;
|
||||
arguments: ConfigurePluginRequestArguments;
|
||||
}
|
||||
interface ConfigurePluginResponse extends Response {
|
||||
}
|
||||
/**
|
||||
* Information found in an "open" request.
|
||||
*/
|
||||
|
||||
@ -84,7 +84,7 @@ var ts;
|
||||
// If changing the text in this section, be sure to test `configureNightly` too.
|
||||
ts.versionMajorMinor = "3.4";
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = ts.versionMajorMinor + ".2";
|
||||
ts.version = ts.versionMajorMinor + ".3";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
/* @internal */
|
||||
@ -125707,12 +125707,13 @@ var ts;
|
||||
var ExternalProject = /** @class */ (function (_super) {
|
||||
__extends(ExternalProject, _super);
|
||||
/*@internal*/
|
||||
function ExternalProject(externalProjectName, projectService, documentRegistry, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath) {
|
||||
function ExternalProject(externalProjectName, projectService, documentRegistry, compilerOptions, lastFileExceededProgramSize, compileOnSaveEnabled, projectFilePath, pluginConfigOverrides) {
|
||||
var _this = _super.call(this, externalProjectName, ProjectKind.External, projectService, documentRegistry,
|
||||
/*hasExplicitListOfFiles*/ true, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, projectService.host, ts.getDirectoryPath(projectFilePath || ts.normalizeSlashes(externalProjectName))) || this;
|
||||
_this.externalProjectName = externalProjectName;
|
||||
_this.compileOnSaveEnabled = compileOnSaveEnabled;
|
||||
_this.excludedFiles = [];
|
||||
_this.enableGlobalPlugins(_this.getCompilerOptions(), pluginConfigOverrides);
|
||||
return _this;
|
||||
}
|
||||
ExternalProject.prototype.updateGraph = function () {
|
||||
@ -126933,7 +126934,8 @@ var ts;
|
||||
ProjectService.prototype.createExternalProject = function (projectFileName, files, options, typeAcquisition, excludedFiles) {
|
||||
var compilerOptions = convertCompilerOptions(options);
|
||||
var project = new server.ExternalProject(projectFileName, this, this.documentRegistry, compilerOptions,
|
||||
/*lastFileExceededProgramSize*/ this.getFilenameForExceededTotalSizeLimitForNonTsFiles(projectFileName, compilerOptions, files, externalFilePropertyReader), options.compileOnSave === undefined ? true : options.compileOnSave);
|
||||
/*lastFileExceededProgramSize*/ this.getFilenameForExceededTotalSizeLimitForNonTsFiles(projectFileName, compilerOptions, files, externalFilePropertyReader), options.compileOnSave === undefined ? true : options.compileOnSave,
|
||||
/*projectFilePath*/ undefined, this.currentPluginConfigOverrides);
|
||||
project.excludedFiles = excludedFiles;
|
||||
this.addFilesToNonInferredProject(project, files, externalFilePropertyReader, typeAcquisition);
|
||||
this.externalProjects.push(project);
|
||||
@ -129070,6 +129072,7 @@ var ts;
|
||||
},
|
||||
_a[server.CommandNames.ConfigurePlugin] = function (request) {
|
||||
_this.configurePlugin(request.arguments);
|
||||
_this.doOutput(/*info*/ undefined, server.CommandNames.ConfigurePlugin, request.seq, /*success*/ true);
|
||||
return _this.notRequired();
|
||||
},
|
||||
_a));
|
||||
|
||||
@ -75,7 +75,7 @@ var ts;
|
||||
// If changing the text in this section, be sure to test `configureNightly` too.
|
||||
ts.versionMajorMinor = "3.4";
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = ts.versionMajorMinor + ".2";
|
||||
ts.version = ts.versionMajorMinor + ".3";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
/* @internal */
|
||||
|
||||
@ -75,7 +75,7 @@ var ts;
|
||||
// If changing the text in this section, be sure to test `configureNightly` too.
|
||||
ts.versionMajorMinor = "3.4";
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = ts.versionMajorMinor + ".2";
|
||||
ts.version = ts.versionMajorMinor + ".3";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
/* @internal */
|
||||
|
||||
@ -76,7 +76,7 @@ var ts;
|
||||
// If changing the text in this section, be sure to test `configureNightly` too.
|
||||
ts.versionMajorMinor = "3.4";
|
||||
/** The version of the TypeScript compiler release */
|
||||
ts.version = ts.versionMajorMinor + ".2";
|
||||
ts.version = ts.versionMajorMinor + ".3";
|
||||
})(ts || (ts = {}));
|
||||
(function (ts) {
|
||||
/* @internal */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user