From 532b4194cbc81124474d14aeef39ff3d2a8cb566 Mon Sep 17 00:00:00 2001 From: "Simon Genin (ges)" Date: Thu, 17 Nov 2022 15:59:35 +0000 Subject: [PATCH] [IMP] dx: js tooling: imp to jsconfig file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#105963 Checkjs: provide better erros in the IDEs Disablesizelimit: experience to see if it works better with this Target: import the default lib.d.ts for type checking Signed-off-by: Michaƫl Mattiello --- addons/web/tooling/_jsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/web/tooling/_jsconfig.json b/addons/web/tooling/_jsconfig.json index 37754ba0668..8dfd2bfbad9 100644 --- a/addons/web/tooling/_jsconfig.json +++ b/addons/web/tooling/_jsconfig.json @@ -2,7 +2,10 @@ "compilerOptions": { "moduleResolution": "node", "baseUrl": ".", + "target": "ES2022", + "checkJs": true, "noEmit": true, + "disableSizeLimit": true, "typeRoots": ["addons/web/tooling/types"], "paths": { "@web/*": ["addons/web/static/src/*"],