tsdown's bundled .d.ts output uses namespace declarations that reference forward-declared types, which breaks Monaco/ATA type acquisition. Switch to: - tsdown for JS bundles (ESM + CJS) with --no-dts - tsc with emitDeclarationOnly for clean individual .d.ts files This restores the type structure from 1.617.0 which worked correctly with Monaco editor's automatic type acquisition. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
365 B
JSON
17 lines
365 B
JSON
{
|
|
"include": ["src/**/*"],
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src/",
|
|
"target": "ESNext",
|
|
"lib": ["ES2018", "DOM"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
}
|
|
}
|