From e57645d841ce32ad1cb8838e443e7fed4b5480de Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Mon, 30 Oct 2017 12:07:06 -0700 Subject: [PATCH] Update options for ts 2.6 (#362) * Fix https://github.com/Microsoft/TypeScript/issues/19566: Remove `--locale` * Add `--strictFunctionTypes` --- src/schemas/json/tsconfig.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index 8dfa97c9b3d..aba2c0f8e54 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -98,10 +98,6 @@ "description": "Print names of files part of the compilation.", "type": "boolean" }, - "locale": { - "description": "The locale to use to show error messages, e.g. en-us.", - "type": "string" - }, "mapRoot": { "description": "Specifies the location where debugger should locate map files instead of generated locations", "type": "string" @@ -391,6 +387,10 @@ "checkJs": { "description": "Report errors in .js files. Requires TypeScript version 2.3 or later.", "type": "boolean" + }, + "strictFunctionTypes": { + "description": "Disable bivariant parameter checking for function types.. Requires TypeScript version 2.6 or later.", + "type": "boolean" } } }