{ "compilerOptions": { "target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, /* Modules */ "module": "ESNext" /* Specify what module code is generated. */, "types": [ "bun-types" ] /* Specify type package names to be included without being referenced in a source file. */, "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. */, /* Type Checking */ "strict": true /* Enable all strict type-checking options. */, /* Completeness */ "skipDefaultLibCheck": true /* Skip type checking .d.ts files that are included with TypeScript. */, "skipLibCheck": true /* Skip type checking all .d.ts files. */, // FROM https://bun.sh/docs/typescript "lib": ["ESNext"], "moduleDetection": "force", "jsx": "react", "jsxFactory": "Html.createElement", "jsxFragmentFactory": "Html.Fragment", // Bundler mode "moduleResolution": "bundler", "allowImportingTsExtensions": true, "verbatimModuleSyntax": true, "noEmit": true, "noFallthroughCasesInSwitch": true, // Some stricter flags "noUnusedLocals": true, "noUnusedParameters": true, "noPropertyAccessFromIndexSignature": true, // ADDED "noErrorTruncation": true, "paths": { "schema": ["./schema/index.ts"], "db": ["./src/db/index.ts"] } }, "include": ["src/**/*.ts"] }