From 24f7773e7b60e7cbbfe90531cf851a53558fefff Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Thu, 23 May 2019 14:39:13 -0700 Subject: [PATCH] Add metadata for TypeScript compiler option 'allowUmdGlobalAccess' to tsconfig and jsconfig schemas (#699) --- src/schemas/json/jsconfig.json | 4 ++++ src/schemas/json/tsconfig.json | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/schemas/json/jsconfig.json b/src/schemas/json/jsconfig.json index f7bf78f8d5b..119aae1e5e2 100644 --- a/src/schemas/json/jsconfig.json +++ b/src/schemas/json/jsconfig.json @@ -340,6 +340,10 @@ "description": "Emit '__importStar' and '__importDefault' helpers for runtime babel ecosystem compatibility and enable '--allowSyntheticDefaultImports' for typesystem compatibility. Requires TypeScript version 2.7 or later.", "type": "boolean" }, + "allowUmdGlobalAccess": { + "description": "Allow accessing UMD globals from modules.", + "type": "boolean" + }, "keyofStringsOnly": { "description": "Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later.", "type": "boolean" diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index 38422717159..8371a944a97 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -89,12 +89,12 @@ "incremental": { "description": "Enable incremental compilation.", "type": "boolean" - }, + }, "tsBuildInfoFile": { "description": "Specify file to store incremental compilation information.", "type": "string" }, - + "inlineSourceMap": { "description": "Emit a single file with source maps instead of having a separate file.", "type": "boolean" @@ -458,6 +458,10 @@ "description": "Emit '__importStar' and '__importDefault' helpers for runtime babel ecosystem compatibility and enable '--allowSyntheticDefaultImports' for typesystem compatibility. Requires TypeScript version 2.7 or later.", "type": "boolean" }, + "allowUmdGlobalAccess": { + "description": "Allow accessing UMD globals from modules.", + "type": "boolean" + }, "keyofStringsOnly": { "description": "Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later.", "type": "boolean"