Bring back exported defaultInitCompilerOptions (#59436)
This commit is contained in:
Родитель
451388cfd5
Коммит
574ae44fd4
|
@ -259,6 +259,8 @@ export const libs = libEntries.map(entry => entry[0]);
|
|||
export const libMap = new Map(libEntries);
|
||||
|
||||
// Watch related options
|
||||
|
||||
// Do not delete this without updating the website's tsconfig generation.
|
||||
/** @internal */
|
||||
export const optionsForWatch: CommandLineOption[] = [
|
||||
{
|
||||
|
@ -1619,6 +1621,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
|
|||
},
|
||||
];
|
||||
|
||||
// Do not delete this without updating the website's tsconfig generation.
|
||||
/** @internal */
|
||||
export const optionDeclarations: CommandLineOption[] = [
|
||||
...commonOptionsWithBuild,
|
||||
|
@ -1702,6 +1705,7 @@ export const buildOpts: CommandLineOption[] = [
|
|||
...optionsForBuild,
|
||||
];
|
||||
|
||||
// Do not delete this without updating the website's tsconfig generation.
|
||||
/** @internal */
|
||||
export const typeAcquisitionDeclarations: CommandLineOption[] = [
|
||||
{
|
||||
|
@ -1764,7 +1768,9 @@ const compilerOptionsAlternateMode: AlternateModeDiagnostics = {
|
|||
getOptionsNameMap: getBuildOptionsNameMap,
|
||||
};
|
||||
|
||||
const defaultInitCompilerOptions: CompilerOptions = {
|
||||
// Do not delete this without updating the website's tsconfig generation.
|
||||
/** @internal @knipignore */
|
||||
export const defaultInitCompilerOptions: CompilerOptions = {
|
||||
module: ModuleKind.CommonJS,
|
||||
target: ScriptTarget.ES2016,
|
||||
strict: true,
|
||||
|
|
Загрузка…
Ссылка в новой задаче