mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-23 07:34:56 +01:00
c8ea41b049
Fixes 79 typescript errors. Discovered at least two bugs in `notifications.ts`, and I'm pretty sure this feature was at least partially broken and may still be, I don't really know how to test it. After this, only like ~10 typescript errors remain in the codebase but those are harder to solve. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
36 lines
873 B
JSON
36 lines
873 B
JSON
{
|
|
"include": [
|
|
"*",
|
|
"tests/e2e/**/*",
|
|
"tools/**/*",
|
|
"web_src/js/**/*",
|
|
],
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["dom", "dom.iterable", "dom.asynciterable", "esnext"],
|
|
"allowImportingTsExtensions": true,
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"verbatimModuleSyntax": true,
|
|
"stripInternal": true,
|
|
"strict": false,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"exactOptionalPropertyTypes": false,
|
|
"sourceMap": true,
|
|
"types": [
|
|
"vitest/globals",
|
|
"./web_src/js/globals.d.ts",
|
|
],
|
|
}
|
|
}
|