diff --git a/bin/build-changelog.js b/bin/build-changelog.js index 5c6b6c0ac..cfdfed37a 100644 --- a/bin/build-changelog.js +++ b/bin/build-changelog.js @@ -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) diff --git a/tsconfig.json b/tsconfig.json index 0646fbcfe..258f536b4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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" ]