diff --git a/src/constants.js b/src/constants.js index ed5b65a9..2e9a2070 100644 --- a/src/constants.js +++ b/src/constants.js @@ -53,7 +53,7 @@ export const INITIAL_FOREST_WIDTH = 4 export const INITIAL_FOREST_HEIGHT = 1 /** - * @type Map + * @type Map */ export const PURCHASABLE_FOREST_SIZES = freeze( new Map([ diff --git a/tsconfig.json b/tsconfig.json index c295a38c..3b5ce50b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,8 +5,10 @@ /* Basic Options */ // "incremental": true, /* Enable incremental compilation */ "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */, - "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, - // "lib": [], /* Specify library files to be included in the compilation. */ + "module": "ES2022" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, + "lib": [ + "ES2022" + ] /* 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": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */,