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", 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. */ 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; }