commit 1c46406828648546f6bffbdb76a01a405515c04c
parent e6a95d246d14a8968833ce7dcfdf0e7622a610ee
Author: Sebastian <sebasjm@gmail.com>
Date: Fri, 4 Nov 2022 10:36:41 -0300
es6 and ts lib
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/merchant-backoffice-ui/tsconfig.json b/packages/merchant-backoffice-ui/tsconfig.json
@@ -1,10 +1,10 @@
{
"compilerOptions": {
/* Basic Options */
- "target": "ES5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
+ "target": "ES6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "ESNext", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
- // "lib": [], /* Specify library files to be included in the compilation: */
- "allowJs": true, /* Allow javascript files to be compiled. */
+ "lib": ["es2021","dom"], /* Specify library files to be included in the compilation: */
+ // "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"jsxFactory": "h", /* Specify the JSX factory function to use when targeting react JSX emit, e.g. React.createElement or h. */