Skip to content

Commit

Permalink
Configure TS
Browse files Browse the repository at this point in the history
  • Loading branch information
Xennis committed May 24, 2024
1 parent f1901b9 commit 6ccc7a3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/render/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"compilerOptions": {
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"jsx": "preserve", /* Specify what JSX code is generated. */
"module": "commonjs", /* Specify what module code is generated. */
"target": "es2016",
"lib": ["DOM", "ESNext"],
"jsx": "react-jsx", /* Specify what JSX code is generated. */
"module": "ESNext", /* Specify what module code is generated. */
"moduleResolution": "Node",
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
"declarationMap": true, /* Create sourcemaps for d.ts files. */
"outDir": "dist", /* Specify an output folder for all emitted files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": false /* Skip type checking all .d.ts files. */
}
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}

0 comments on commit 6ccc7a3

Please sign in to comment.