From 98cd89fbc133551b6e9954d81eabeb476049a7be Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Fri, 5 Apr 2019 14:35:09 -0700 Subject: [PATCH] Add affectsSemanticDiagnostics to flag (and move to right spot) --- src/compiler/commandLineParser.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index c6dd100d0bc..6ed4aaf2378 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -575,6 +575,13 @@ namespace ts { category: Diagnostics.Module_Resolution_Options, description: Diagnostics.Do_not_resolve_the_real_path_of_symlinks, }, + { + name: "allowUmdGlobalAccess", + type: "boolean", + affectsSemanticDiagnostics: true, + category: Diagnostics.Module_Resolution_Options, + description: Diagnostics.Allow_accessing_UMD_globals_from_modules, + }, // Source Maps { @@ -603,12 +610,6 @@ namespace ts { category: Diagnostics.Source_Map_Options, description: Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set }, - { - name: "allowUmdGlobalAccess", - type: "boolean", - category: Diagnostics.Module_Resolution_Options, - description: Diagnostics.Allow_accessing_UMD_globals_from_modules, - }, // Experimental {