Type of `serverQueryContent(event).find()` is different from the actual response
Environment
- Operating System: Linux
- Node Version: v18.17.1
- Nuxt Version: 3.7.0
- CLI Version: 3.7.3
- Nitro Version: 2.6.2
- Package Manager: [email protected]
- Builder: -
- User Config: modules, nitro, routeRules
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
Reproduction
https://stackblitz.com/edit/stackblitz-starters-f6avth
Describe the bug
The type of the result of serverQueryContent(event).find() is an object of type ContentQueryFindResponse<ParsedContent>.
However, the actual value is an array of ParsedContent.
These properties do not exist.
Additional context
On StackBlitz, it shows any for some reason.
On the local VSCode, the type is displayed, as well as the possible properties that exist for the object.
Logs
No response
This should be fixed in edge channel.
@farnabaz Thank you for fixing this issue! Using edge channel fixed the error.
Should I close this issue (#2273)? After the release of the new version?
Released in v2.8.2.