Skip to content

Commit

Permalink
Bring back exported defaultInitCompilerOptions (#86336)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey authored Jul 26, 2024
1 parent 451388c commit 574ae44
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/compiler/commandLineParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
{
Expand Down Expand Up @@ -1619,6 +1621,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
},
];

// Do not delete this without updating the website's tsconfig generation.
/** @internal */
export const optionDeclarations: CommandLineOption[] = [
...commonOptionsWithBuild,
Expand Down Expand Up @@ -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[] = [
{
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 574ae44

Please sign in to comment.