aboutsummaryrefslogtreecommitdiffstats
path: root/tsconfig.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2025-01-22 08:11:51 +0100
committerGitHub <noreply@github.com>2025-01-22 15:11:51 +0800
commitc7f4ca265376700b56b4d0bdd4c879dd9915d1cf (patch)
tree0e66b84dd4c22290d1d7179ea4c28ed45fdf17e3 /tsconfig.json
parent6fe4d1c038dd699269cfbeb1ef435288e2ddf457 (diff)
downloadgitea-c7f4ca265376700b56b4d0bdd4c879dd9915d1cf.tar.gz
gitea-c7f4ca265376700b56b4d0bdd4c879dd9915d1cf.zip
Enable Typescript `noImplicitAny` (#33322)
Enable `noImplicitAny` and fix all issues. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
index c41f9646d6..78b74a3d3c 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -23,6 +23,7 @@
"stripInternal": true,
"strict": false,
"strictFunctionTypes": true,
+ "noImplicitAny": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,