Преглед на файлове

[doc]更新tsconfig.json,调整extends字段以包含多个配置文件,优化TypeScript编译环境设置。

dufu1991 преди 1 година
родител
ревизия
6652fe2b27
променени са 1 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 8 2
      docs/site/tsconfig.json

+ 8 - 2
docs/site/tsconfig.json

@@ -1,5 +1,11 @@
 {
-	"extends": "./.svelte-kit/tsconfig.json",
+	"extends": [
+		"./eslint.config.js",
+		"./scripts/env.js",
+		"./src/utils/code-group-svg-data.js",
+		"./svelte/config.js",
+		"./.svelte-kit/tsconfig.json"
+	],
 	"compilerOptions": {
 		"allowJs": true,
 		"checkJs": true,
@@ -16,4 +22,4 @@
 	//
 	// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
 	// from the referenced tsconfig.json - TypeScript does not merge them in
-}
+}