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

Property 'frontMatter' does not exist on type 'Page'. #4045

Closed
hichemfantar opened this issue Jan 25, 2025 · 2 comments
Closed

Property 'frontMatter' does not exist on type 'Page'. #4045

hichemfantar opened this issue Jan 25, 2025 · 2 comments
Labels
question Further information is requested

Comments

@hichemfantar
Copy link
Contributor

is there an official fix for this?

Property 'frontMatter' does not exist on type 'Page'.
  Property 'frontMatter' does not exist on type 'Folder<Page> & { meta?: Record<string, any> | undefined; }'.ts(2339)
@hichemfantar hichemfantar added the bug Something isn't working label Jan 25, 2025
@dimaMachina
Copy link
Collaborator

please fill issue according template

@dimaMachina dimaMachina added question Further information is requested and removed bug Something isn't working labels Jan 25, 2025
@hichemfantar
Copy link
Contributor Author

i found this typecast in v4 example, i tried it with v3 and it's working

const pageMap = (await getPageMap(/${lang}/blog)) as unknown as MdxFile[]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants