2023-07-20 23:47:32 -04:00
|
|
|
{
|
2023-08-23 21:44:59 -04:00
|
|
|
"extends": "../tsconfig.engine.json",
|
2023-07-20 23:47:32 -04:00
|
|
|
"compilerOptions": {
|
2023-08-15 20:30:19 -04:00
|
|
|
// add Bun type definitions
|
|
|
|
"types": ["bun-types"],
|
|
|
|
|
|
|
|
// enable latest features
|
|
|
|
"lib": ["esnext"],
|
2023-07-20 23:47:32 -04:00
|
|
|
"module": "esnext",
|
|
|
|
"target": "esnext",
|
2023-08-15 20:30:19 -04:00
|
|
|
|
|
|
|
// if TS 5.x+
|
2023-07-20 23:47:32 -04:00
|
|
|
"moduleResolution": "bundler",
|
2023-08-15 20:30:19 -04:00
|
|
|
"noEmit": true,
|
2023-07-20 23:47:32 -04:00
|
|
|
"allowImportingTsExtensions": true,
|
2023-08-15 20:30:19 -04:00
|
|
|
"moduleDetection": "force",
|
|
|
|
|
|
|
|
"jsx": "react-jsx", // support JSX
|
|
|
|
"allowJs": true, // allow importing `.js` from `.ts`
|
|
|
|
"esModuleInterop": true, // allow default imports for CommonJS modules
|
|
|
|
|
|
|
|
// best practices
|
2023-07-20 23:47:32 -04:00
|
|
|
"strict": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
2023-08-23 21:44:59 -04:00
|
|
|
"skipLibCheck": true
|
2023-07-20 23:47:32 -04:00
|
|
|
}
|
|
|
|
}
|