-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mark component parameter types incompatible #92
Comments
Hi @lokkeestudios I tried to reproduce your issue but lucked out. To help me resolve the issue, can you let me know which version of Is the issue only with your Enjoy the weekend. |
Hi @theisel thanks for the quick feedback! Sure thing, there you go (they should all be pretty much the latest versions):
Please let me know if you need anything else from my end :) |
Hi @lokkeestudios from what I can gather the warning shows up with Astro 3 and all fine with Astro 2. Astro can build successfully which is a good thing. I'll take a closer look at it tomorrow. Take care. |
@theisel I think so too. It might be that Astro messed around with their component prop typings in |
Fix `mark` and `unknownMark` types Closes #92
@lokkeestudios I believe the issue has been fixed 🤞 I'll release the patch soon. |
Hi @theisel I'm afraid the param type incompatibility issue still persists, despite the supposed fix provided in
|
@lokkeestudios thanks for letting me know. I'll look into it. |
@lokkeestudios I've released a patch for your issue, it should be good now 🤞 Any issues, please let me know. Enjoy your weekend. |
@theisel This seems like it did fix the type issue indeed. Thanks for providing a fix so quickly! 💯 Much appreciated. Have a good one! 🙂 |
Hi everyone,
I just followed the
typed.md
docs and added a definition for a link mark component override.However, it seems like the parameter types of the Mark type provided by
astro-portabletext/types
are incompatible with the actual PortableText component's parameters, as you can see from the following type error:The following is the relevant source code of my project, to provide some context:
portable-text.astro
:external-link.astro
:I am not entirely sure if this is a wrong implementation on my end or an issue on your end.
Feedback on this would be very much appreciated! Thank you 😊
The text was updated successfully, but these errors were encountered: