tsconfig.json
Raw
1{
2 "compilerOptions": {
3 /* Visit https://aka.ms/tsconfig to read more about this file */
4 "target": "ES2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
5 "module": "ES2022", /* Specify what module code is generated. */
6 "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
7 "types": [
8 "bun-types"
9 ], /* Specify type package names to be included without being referenced in a source file. */
10 "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
11 "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
12 "strict": true, /* Enable all strict type-checking options. */
13 "skipLibCheck": true, /* Skip type checking all .d.ts files. */
14 "jsx": "react",
15 "jsxFactory": "Html.createElement",
16 "jsxFragmentFactory": "Html.Fragment"
17 }
18}