Skip to content

Conversation

gedinakova
Copy link
Contributor

... as per George's suggestions.

: nothing;
};

private messageContentTemplate = (msg: any) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be msg: IgcChatMessage? Prefer a type if available before any :)

this.chat.addEventListener('igcMessageCreated', this.onMessageCreated)
}

public onMessageCreated = (e: CustomEvent) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this would be CustomEvent<IgcChatMessage> too, right?

@igdmdimitrov igdmdimitrov self-assigned this Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants