tsconfig.json
{
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"compilerOptions": {
/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"target": "es6",
/* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
"module": "commonjs",
/* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
"jsx": "react-jsx",
/* Declares the module specifier to be used for importing the jsx and jsxs factory functions when using jsx as "react-jsx". */
"jsxImportSource": "preact",
/* Generates corresponding '.map' file. */
"sourceMap": true,
/* Enable all strict type-checking options. */
"strict": true,
/* Enable strict null checks. */
"strictNullChecks": false,
/* List of folders to include type definitions from. */
"typeRoots": ["integreat_cms/static/src/types", "node_modules/@types"],
/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"esModuleInterop": true,
/* Skip type checking of declaration files. */
"skipLibCheck": true,
/* Disallow inconsistently-cased references to the same file. */
"forceConsistentCasingInFileNames": true
}
}