34 lines
923 B
JSON
34 lines
923 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["ESNext"],
|
|
"module": "esnext",
|
|
"target": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"moduleDetection": "force",
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
"composite": true,
|
|
"strict": true,
|
|
"downlevelIteration": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "react",
|
|
"jsxFactory": "Html.createElement",
|
|
"jsxFragmentFactory": "Html.Fragment",
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": true,
|
|
"types": [
|
|
"bun-types" // add Bun global
|
|
],
|
|
// non bun init
|
|
"plugins": [{ "name": "@kitajs/ts-html-plugin" }],
|
|
"noUncheckedIndexedAccess": true,
|
|
// "noUnusedLocals": true,
|
|
// "noUnusedParameters": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true
|
|
// "noImplicitReturns": true
|
|
}
|
|
}
|