From efc381ab86a1bc403adf17d9b9393027e74f4c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Gonz=C3=A1lez=20Viegas?= Date: Sun, 1 Mar 2026 20:21:15 +0100 Subject: [PATCH 1/3] fix: correct types --- src/core/client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/client.ts b/src/core/client.ts index da28d26..8413e90 100644 --- a/src/core/client.ts +++ b/src/core/client.ts @@ -41,7 +41,8 @@ const ITEM_TYPE_APP = 'APP'; * Avoids hard-coupling to `@thatopen/components` at the public API level. */ export interface ComponentsLike { - get(c: new (components: ComponentsLike) => unknown): unknown; + // eslint-disable-next-line @typescript-eslint/no-explicit-any -- generic constructor pattern requires any[] + get(c: new (...args: any[]) => T): T; init(): void; } From eef958ae5c84bf20efc5addfbbdd24d2f1381bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Gonz=C3=A1lez=20Viegas?= Date: Sun, 1 Mar 2026 20:21:26 +0100 Subject: [PATCH 2/3] fix: clean up unused variable --- src/built-in/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/built-in/index.ts b/src/built-in/index.ts index fbbc026..64dff41 100644 --- a/src/built-in/index.ts +++ b/src/built-in/index.ts @@ -111,11 +111,6 @@ declare class _AppManager { * Creates the sidebar element with layout-switching buttons. */ private _createSidebar; - /** - * Pauses renderer resize observers, runs a layout-changing callback, - * then resizes and force-renders on the next frame to avoid canvas blink. - */ - private _safeLayoutChange; /** * Highlights the active layout button in the sidebar. */ From 3ed1058dae22dffdf049da785ccdfbc06cd2c0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Gonz=C3=A1lez=20Viegas?= Date: Sun, 1 Mar 2026 20:22:36 +0100 Subject: [PATCH 3/3] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 51ee01c..62fabd2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "thatopen-services", "description": "Client library and CLI for building BIM apps and cloud components on the That Open Platform", "private": false, - "version": "0.8.0", + "version": "0.8.1", "main": "dist/index.cjs.js", "module": "dist/index.es.js", "types": "dist/index.d.ts",