timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
8.92k stars 2.08k forks source link

In the .contentlayer file, the TypeScript type declaration is incorrect #1013

Closed ifaceisred closed 2 months ago

ifaceisred commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

image

The result of console printing Actually, it could be an array type image

timlrx commented 2 months ago

Oh yes, seems like it should be a json type instead. Do you want to submit a PR to fix?