Closed sylvaingi closed 2 years ago
Hey there, thank you so much for opening an issue again!
The image field type has indeed been giving us some trouble for some time now (as you might have followed on @prismicio/types
repository) and we hope to see it stabilize.
We'll try to have a look at that quickly!
Released in 2.2.1
, thanks again for your contribution! 🙏
Hello! Seems like a new variation of https://github.com/prismicio/prismic-helpers/issues/41 cropped up in the latest
@prismicio
packages.Versions
Steps to reproduce
What is expected?
isFilled.image
shouldn't require a generic argument to be passed in order to typecheck.What is actually happening?
Code does not typecheck.
isFilled.image<null>(d.image);
can be used as a workaround.