Add allowUmdGlobalAccess flag
This commit is contained in:
parent
86f0d4b95a
commit
2ee93bf0f2
|
@ -603,6 +603,12 @@ 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
|
||||
{
|
||||
|
|
|
@ -4938,5 +4938,9 @@
|
|||
"Convert parameters to destructured object": {
|
||||
"category": "Message",
|
||||
"code": 95075
|
||||
},
|
||||
"Allow accessing UMD globals from modules": {
|
||||
"category": "Message",
|
||||
"code": 95076
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4580,6 +4580,7 @@ namespace ts {
|
|||
allowJs?: boolean;
|
||||
/*@internal*/ allowNonTsExtensions?: boolean;
|
||||
allowSyntheticDefaultImports?: boolean;
|
||||
allowUmdGlobalAccess?: boolean;
|
||||
allowUnreachableCode?: boolean;
|
||||
allowUnusedLabels?: boolean;
|
||||
alwaysStrict?: boolean; // Always combine with strict property
|
||||
|
|
Loading…
Reference in a new issue