openvidu-elements: Fixed participant factory types

pull/707/head
csantosm 2022-03-10 12:34:20 +01:00
parent 412a95ea43
commit 41f83bc340
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import { ParticipantProperties, StreamModel } from '../models/participant.model';
export interface OpenViduAngularConfig { export interface OpenViduAngularConfig {
production?: boolean, production?: boolean,
participantFactory?: ParticipantFactoryFunction, participantFactory?: ParticipantFactoryFunction,
@ -5,4 +7,4 @@ export interface OpenViduAngularConfig {
} }
export type ParticipantFactoryFunction = (connWrapper: any, participantId: string) => any; export type ParticipantFactoryFunction = (props: ParticipantProperties, streamModel: StreamModel) => any;