fix: restore tsconfig settings and changelog build

Re-add suppressImplicitAnyIndexErrors and downlevelIteration removed in
a75033e2c, which broke the rollup TypeScript build on CI. Drop zh-cn
changelog output now that translations were removed.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Yang Jun
2026-06-06 23:55:02 +08:00
co-authored by Cursor
parent be18f33e20
commit 9b0b9be849
2 changed files with 3 additions and 3 deletions
-2
View File
@@ -18,7 +18,5 @@ content = content
.replace(/\{\{/g, '{% raw %}{{{% endraw %}')
const enFrontmatter = '---\ntitle: Changelog\nauto: true\n---\n\n'
const zhFrontmatter = '---\ntitle: 更新日志\nauto: true\n---\n\n'
fs.writeFileSync(path.join(root, 'docs/source/tutorials/changelog.md'), enFrontmatter + content)
fs.writeFileSync(path.join(root, 'docs/source/zh-cn/tutorials/changelog.md'), zhFrontmatter + content)
+3 -1
View File
@@ -9,7 +9,9 @@
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"strict": true
"downlevelIteration": true,
"strict": true,
"suppressImplicitAnyIndexErrors": true
},
"all": true,
"exclude": [ "node_modules", "dist", "demo", "test" ]