fix: resolve remaining type errors in build scripts

Fix __String vs string type mismatch in imports transformer by
converting escapedText to string. Add @ts-expect-error for TypeDoc
Converter.on() which exists at runtime but is not in public type
exports.
This commit is contained in:
Daniel Sogl
2026-03-21 16:14:04 -07:00
parent 62956e429c
commit 4807ccdb27
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -197,6 +197,7 @@ async function main(): Promise<void> {
} as unknown as Parameters<typeof Application.bootstrapWithPlugins>[0]);
// Extract @Plugin() decorator metadata during TypeScript conversion
// @ts-expect-error — Converter extends EventDispatcher but 'on' is not in public type exports
app.converter.on(
Converter.EVENT_CREATE_DECLARATION,
(context: Context, reflection: DeclarationReflection) => {