diff --git a/src/schemas/json/jsconfig.json b/src/schemas/json/jsconfig.json index 900e0e37029..4b874e8fef2 100644 --- a/src/schemas/json/jsconfig.json +++ b/src/schemas/json/jsconfig.json @@ -329,6 +329,14 @@ "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" }, + "keyofStringsOnly": { + "description": "Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later.", + "type": "boolean" + }, + "resolveJsonModule": { + "description": "Include modules imported with '.json' extension. Requires TypeScript version 2.9 or later.", + "type": "boolean" + }, "plugins": { "description": "List of TypeScript language server plugins to load. Requires TypeScript version 2.3 or later.", "type": "array", diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index 9ec1a74e5b1..3be321480ad 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -383,8 +383,12 @@ "type": "array", "items": { "type": "string", - "enum": [ "es5", "es6", "es2015", "es7", "es2016", "es2017", "es2018", "esnext", "dom", "dom.iterable", "webworker", "scripthost", "es2015.core", "es2015.collection", "es2015.generator", "es2015.iterable", - "es2015.promise", "es2015.proxy", "es2015.reflect", "es2015.symbol", "es2015.symbol.wellknown", "es2016.array.include", "es2017.object", "es2017.sharedmemory", "es2017.string", "es2017.typedarrays", "es2018.promise", "es2018.regexp", "esnext.array", "esnext.asynciterable"] + "enum": [ "es5", "es6", "es2015", "es7", "es2016", "es2017", "es2018", "esnext", "dom", "dom.iterable", "webworker", "scripthost", + "es2015.core", "es2015.collection", "es2015.generator", "es2015.iterable", "es2015.promise", "es2015.proxy", "es2015.reflect", "es2015.symbol", "es2015.symbol.wellknown", + "es2016.array.include", + "es2017.object", "es2017.sharedmemory", "es2017.string", "es2017.typedarrays", "es2017.intl", + "es2018.promise", "es2018.regexp", "es2018.intl", + "esnext.array", "esnext.asynciterable"] } }, "strictNullChecks": { @@ -432,6 +436,18 @@ "esModuleInterop": { "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" + }, + "keyofStringsOnly": { + "description": "Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later.", + "type": "boolean" + }, + "declarationMap": { + "description": "Generates a sourcemap for each corresponding '.d.ts' file. Requires TypeScript version 2.9 or later.", + "type": "boolean" + }, + "resolveJsonModule": { + "description": "Include modules imported with '.json' extension. Requires TypeScript version 2.9 or later.", + "type": "boolean" } } }