Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

botonic-react: WebchatReplies and Reply with typescript #2952

Open
wants to merge 7 commits into
base: botonic-react/fix-some-types
Choose a base branch
from

Conversation

Iru89
Copy link
Contributor

@Iru89 Iru89 commented Dec 19, 2024

Description

Using typescript in Reply and WebchatReplies components

In the WebchatReplies component I have to put a @ts-ignore because replies is of type Reply[] but typescript does not detect that the component is already “rendered with the props” (TODO investigate in the future how to pass the props and render Reply components at this point).

@Iru89 Iru89 changed the title Botonic react/replies with typescript botonic-react: WebchatReplies and Reply with typescript Dec 19, 2024
@Iru89 Iru89 marked this pull request as ready for review December 19, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant