Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 0 additions & 5 deletions src/built-in/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
3 changes: 2 additions & 1 deletion src/core/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(c: new (...args: any[]) => T): T;
init(): void;
}

Expand Down