summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorRikki <i@rikki.moe>2025-05-26 14:25:17 +0800
committerRikki <i@rikki.moe>2025-05-26 14:25:17 +0800
commit818f6fdcfbfe296dab032af4023d98a1ac566fcf (patch)
treeb09da2a901c1c0e5c97ced1bddccf375b232fa08 /tsconfig.json
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..ca1f83e
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,45 @@
+{
+ "compilerOptions": {
+ /* Visit https://aka.ms/tsconfig.json to read more about this file */
+
+ /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
+ "target": "es2021",
+ /* Specify a set of bundled library declaration files that describe the target runtime environment. */
+ "lib": ["es2021"],
+ /* Specify what JSX code is generated. */
+ "jsx": "react-jsx",
+
+ /* Specify what module code is generated. */
+ "module": "es2022",
+ /* Specify how TypeScript looks up a file from a given module specifier. */
+ "moduleResolution": "Bundler",
+ /* Enable importing .json files */
+ "resolveJsonModule": true,
+
+ /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
+ "allowJs": true,
+ /* Enable error reporting in type-checked JavaScript files. */
+ "checkJs": false,
+
+ /* Disable emitting files from a compilation. */
+ "noEmit": true,
+
+ /* Ensure that each file can be safely transpiled without relying on other imports. */
+ "isolatedModules": true,
+ /* Allow 'import x from y' when a module doesn't have a default export. */
+ "allowSyntheticDefaultImports": true,
+ /* Ensure that casing is correct in imports. */
+ "forceConsistentCasingInFileNames": true,
+
+ /* Enable all strict type-checking options. */
+ "strict": true,
+
+ /* Skip type checking all .d.ts files. */
+ "skipLibCheck": true,
+ "types": [
+ "./worker-configuration.d.ts"
+ ]
+ },
+ "exclude": ["test"],
+ "include": ["worker-configuration.d.ts", "src/**/*.ts"]
+}