Files
dockview/tsconfig.base.json
mathuoandClaude Opus 4.8 193b9ffa51 build: enable isolatedModules and mark type-only re-exports (DV-77)
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
2026-07-14 20:08:44 +00:00

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"]
}