Skip to content

Commit

Permalink
feat(core): make configurator types optional
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Nov 5, 2024
1 parent c5aebe2 commit b76522e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thatopen/components",
"description": "Collection of core functionalities to author BIM apps.",
"version": "2.4.0-alpha.21",
"version": "2.4.0-alpha.22",
"author": "That Open Company",
"contributors": [
"Antonio Gonzalez Viegas (https://github.com/agviegas)",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/core/ConfigManager/src/configurator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Components } from "../../Components";
import { ConfigManager } from "../index";
import { UUID } from "../../../utils";

export abstract class Configurator<T, U extends ControlsSchema> {
export abstract class Configurator<T = any, U extends ControlsSchema = any> {
protected abstract _config: U;

protected _component: T;
Expand Down

0 comments on commit b76522e

Please sign in to comment.