Skip to content

Commit 574ae44

Browse files
authored
Bring back exported defaultInitCompilerOptions (#59436)
1 parent 451388c commit 574ae44

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/compiler/commandLineParser.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ export const libs = libEntries.map(entry => entry[0]);
259259
export const libMap = new Map(libEntries);
260260

261261
// Watch related options
262+
263+
// Do not delete this without updating the website's tsconfig generation.
262264
/** @internal */
263265
export const optionsForWatch: CommandLineOption[] = [
264266
{
@@ -1619,6 +1621,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
16191621
},
16201622
];
16211623

1624+
// Do not delete this without updating the website's tsconfig generation.
16221625
/** @internal */
16231626
export const optionDeclarations: CommandLineOption[] = [
16241627
...commonOptionsWithBuild,
@@ -1702,6 +1705,7 @@ export const buildOpts: CommandLineOption[] = [
17021705
...optionsForBuild,
17031706
];
17041707

1708+
// Do not delete this without updating the website's tsconfig generation.
17051709
/** @internal */
17061710
export const typeAcquisitionDeclarations: CommandLineOption[] = [
17071711
{
@@ -1764,7 +1768,9 @@ const compilerOptionsAlternateMode: AlternateModeDiagnostics = {
17641768
getOptionsNameMap: getBuildOptionsNameMap,
17651769
};
17661770

1767-
const defaultInitCompilerOptions: CompilerOptions = {
1771+
// Do not delete this without updating the website's tsconfig generation.
1772+
/** @internal @knipignore */
1773+
export const defaultInitCompilerOptions: CompilerOptions = {
17681774
module: ModuleKind.CommonJS,
17691775
target: ScriptTarget.ES2016,
17701776
strict: true,

0 commit comments

Comments
 (0)