Skip to content

Commit fb050f1

Browse files
authored
Use camel-case instead of snake-case (#9134)
1 parent 81d1ccf commit fb050f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/services.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1941,17 +1941,17 @@ namespace ts {
19411941

19421942

19431943

1944-
let commandLineOptions_stringToEnum: CommandLineOptionOfCustomType[];
1944+
let commandLineOptionsStringToEnum: CommandLineOptionOfCustomType[];
19451945

19461946
/** JS users may pass in string values for enum compiler options (such as ModuleKind), so convert. */
19471947
function fixupCompilerOptions(options: CompilerOptions, diagnostics: Diagnostic[]): CompilerOptions {
19481948
// Lazily create this value to fix module loading errors.
1949-
commandLineOptions_stringToEnum = commandLineOptions_stringToEnum || <CommandLineOptionOfCustomType[]>filter(optionDeclarations, o =>
1949+
commandLineOptionsStringToEnum = commandLineOptionsStringToEnum || <CommandLineOptionOfCustomType[]>filter(optionDeclarations, o =>
19501950
typeof o.type === "object" && !forEachValue(<Map<any>> o.type, v => typeof v !== "number"));
19511951

19521952
options = clone(options);
19531953

1954-
for (const opt of commandLineOptions_stringToEnum) {
1954+
for (const opt of commandLineOptionsStringToEnum) {
19551955
if (!hasProperty(options, opt.name)) {
19561956
continue;
19571957
}

0 commit comments

Comments
 (0)