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
Why is there no EntryFieldTypes for Asset? #2203
Comments
got the same problem here. The example seems exactly like mine, still doens't work (i'm using nuxt3 and contentful 10.8.7) |
NVM, @marcolink your code is correct and works to me too. Thanks |
hi @marcolink thanks for the example. it seems to work with getEntry but not with getEntries though. |
@LookRain can you share an example where it's not working for you? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an asset field in my content named
featureImage
, on my frontend I want to correctly type this field, however there's no suitable EntryFieldTypes that gives me the correct inference of thefeatureImage
typeExpected Behavior
Actual Behavior
TS error
Possible Solution
How should I type asset fields?
Steps to Reproduce
Context
Environment
The text was updated successfully, but these errors were encountered: