Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #632 from SuperViz/refactor/remove-client-sync-cha…
Browse files Browse the repository at this point in the history
…nnel

fix: any as component type
  • Loading branch information
carlossantos74 authored Apr 9, 2024
2 parents 0393f46 + 7d1b5ab commit 3ce222b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/launcher/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class Launcher extends Observable implements DefaultLauncher {
* @param component - component to add
* @returns {void}
*/
public addComponent = (component: Partial<BaseComponent>): void => {
public addComponent = (component: any): void => {
if (!this.canAddComponent(component)) return;

if (!this.realtime.isJoinedRoom) {
Expand Down Expand Up @@ -133,7 +133,7 @@ export class Launcher extends Observable implements DefaultLauncher {
* @param component - component to remove
* @returns {void}
*/
public removeComponent = (component: Partial<BaseComponent>): void => {
public removeComponent = (component: any): void => {
if (!this.activeComponents.includes(component.name)) {
const message = `Component ${component.name} is not initialized yet.`;
this.logger.log(message);
Expand Down

0 comments on commit 3ce222b

Please sign in to comment.