Bring back exported defaultInitCompilerOptions (#59436)

This commit is contained in:
Jake Bailey 2024-07-26 14:24:32 -07:00 коммит произвёл GitHub
Родитель 451388cfd5
Коммит 574ae44fd4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -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,