Skip to content

Commit 98cd89f

Browse files
committed
Add affectsSemanticDiagnostics to flag (and move to right spot)
1 parent 6c06507 commit 98cd89f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/compiler/commandLineParser.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,13 @@ namespace ts {
575575
category: Diagnostics.Module_Resolution_Options,
576576
description: Diagnostics.Do_not_resolve_the_real_path_of_symlinks,
577577
},
578+
{
579+
name: "allowUmdGlobalAccess",
580+
type: "boolean",
581+
affectsSemanticDiagnostics: true,
582+
category: Diagnostics.Module_Resolution_Options,
583+
description: Diagnostics.Allow_accessing_UMD_globals_from_modules,
584+
},
578585

579586
// Source Maps
580587
{
@@ -603,12 +610,6 @@ namespace ts {
603610
category: Diagnostics.Source_Map_Options,
604611
description: Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set
605612
},
606-
{
607-
name: "allowUmdGlobalAccess",
608-
type: "boolean",
609-
category: Diagnostics.Module_Resolution_Options,
610-
description: Diagnostics.Allow_accessing_UMD_globals_from_modules,
611-
},
612613

613614
// Experimental
614615
{

0 commit comments

Comments
 (0)