Files
insomnia/packages/insomnia-inso/tsconfig.json
Bingbing d5b9952e17 chore: optimize some interfaces & fix typo (#8634)
- Fix some typos
- Code clean
- Optimize some interface definition
2025-04-23 11:47:27 +08:00

43 lines
1.1 KiB
JSON

{
"compilerOptions": {
/* Basic */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"checkJs": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"isolatedModules": true,
"paths": {
"electron": ["../insomnia/send-request/electron"]
},
/* remove this once react AlertModal is out of the plugins code path */
"jsx": "react",
/* Transpiling Options */
"module": "CommonJS",
"sourceMap": true,
/* Runs in the DOM NOTE: this is inconsistent with reality */
"lib": ["ES2023", "DOM", "DOM.Iterable"],
/* Strictness */
"strict": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": false
},
"include": [".eslintrc.js", "esbuild.ts", "package.json", "src", "../insomnia/types"],
"exclude": [
"**/*.test.ts",
"**/__mocks__/*",
"**/__snapshots__/**",
"assets",
"bin",
"dist",
"node_modules",
"scripts",
"src/vitest"
]
}