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

Pass prop variable to openGraph={ basic: {title}. Type '{ description: string; }' is not assignable to type 'string'.ts(2322) #98

Open
EdwardDeaver opened this issue Aug 30, 2024 · 0 comments

Comments

@EdwardDeaver
Copy link

	When I put:

openGraph={{
basic: {
title: {description},

Description is of type string.

I get the error

Type '{ description: string; }' is not assignable to type 'string'.ts(2322) SEO.astro(37, 7): The expected type comes from property 'title' which is declared here on type '{ title: string; type: string; image: string; url?: string | URL | undefined; }'

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