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

TS type error #20

Open
Anilpandiya opened this issue Jul 2, 2024 · 0 comments
Open

TS type error #20

Anilpandiya opened this issue Jul 2, 2024 · 0 comments

Comments

@Anilpandiya
Copy link

MessageCard.tsx has a TS type error for line number 40 -
onMessageDelete(message._id);

Argument of type 'unknown' is not assignable to parameter of type 'string'.ts(2345)

  onMessageDelete(message._id as string);
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

No branches or pull requests

1 participant