[IMP] dx: js tooling: imp to jsconfig file
remove checkJS: It made the ts server check for error, bypassing some eslint rules (such as globals). add ts files in the include: ts files need to be included in the project as there are some .d.ts files defining types. closes odoo/odoo#105984 Signed-off-by: Michaël Mattiello <mcm@odoo.com>
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
"moduleResolution": "node",
|
||||
"baseUrl": ".",
|
||||
"target": "ES2022",
|
||||
"checkJs": true,
|
||||
"noEmit": true,
|
||||
"disableSizeLimit": true,
|
||||
"typeRoots": ["addons/web/tooling/types"],
|
||||
@@ -24,7 +23,7 @@
|
||||
"@pos/*": ["addons/pos/static/src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["**/*.js"],
|
||||
"include": ["**/*.js", "**/*.ts"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"setup",
|
||||
|
||||
Reference in New Issue
Block a user