fix(build): migrate smart config setup and align TypeScript compatibility updates

This commit is contained in:
2026-04-02 12:50:20 +00:00
parent 3338261cfa
commit 47f2a64a61
15 changed files with 2222 additions and 2749 deletions

View File

@@ -523,7 +523,7 @@ export class SioPdfViewer extends DeesElement {
this.renderTask = page.render(renderContext);
await this.renderTask.promise;
} catch (error) {
if (error.name !== 'RenderingCancelledException') {
if ((error as any).name !== 'RenderingCancelledException') {
console.error('Error rendering page:', error);
}
}