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.55k stars 1.98k forks source link

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

Closed ifaceisred closed 5 days ago

ifaceisred commented 2 weeks 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 1 week ago

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