mirror of
https://github.com/mathuo/dockview
synced 2026-09-12 00:48:42 +00:00
Turn on `isolatedModules` in tsconfig.base.json so every file transpiles independently — a prerequisite for single-file transpilers (SWC, esbuild, rolldown) and enforced at build time via TS1205. This surfaces the type-only re-exports across the barrel files that need an explicit `type` modifier; add them in dockview-core (index.ts + options.ts) and dockview-react. No runtime behaviour change — `type` exports are erased. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFgvhvcQ8JPVxUJYvC7RV9
31 lines
781 B
JSON
31 lines
781 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es5",
|
|
"declaration": true,
|
|
"declarationMap": false,
|
|
"sourceMap": false,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"allowUnreachableCode": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"esModuleInterop": true,
|
|
"downlevelIteration": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitAny": true,
|
|
"lib": [
|
|
"ES2015",
|
|
"ES2016.Array.Include",
|
|
"ES2017.String",
|
|
"ES2018.Promise",
|
|
"ES2019",
|
|
"ES2020",
|
|
"ES2021",
|
|
"DOM"
|
|
]
|
|
},
|
|
"exclude": ["**/*.spec.ts"]
|
|
}
|