chore: standardize tsconfig (#9568)

This commit is contained in:
forehalo
2025-01-08 04:07:56 +00:00
parent 39f4b17315
commit c0ed74dfed
151 changed files with 1041 additions and 1566 deletions

View File

@@ -1,20 +1,21 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": false,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"noEmit": true,
"composite": false
"rootDir": ".",
"outDir": "./dist",
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
},
"include": ["./apps", "./examples"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [
{ "path": "../affine/components" },
{ "path": "../affine/model" },
{ "path": "../framework/block-std" },
{ "path": "../blocks" },
{ "path": "../affine/data-view" },
{ "path": "../framework/global" },
{ "path": "../framework/inline" },
{ "path": "../presets" },
{ "path": "../framework/store" },
{ "path": "../framework/sync" }
]
}