Closed Florent-Bouisset closed 7 months ago
MacOS, Chrome
use new experimental feature searchContent()
searchContent()
Uncaught (in promise) ReferenceError: createError is not defined at searchContent
The function createError is used but never imported in the source code: https://github.com/nuxt/content/blob/main/src/runtime/composables/search.ts
createError
https://github.com/nuxt/content/issues/2404 was a similar issue and was closed after the merge of https://github.com/nuxt/content/pull/2412 but this PR didn't add import for the function createError.
No response
Environment
MacOS, Chrome
Reproduction
use new experimental feature
searchContent()
Describe the bug
The function
createError
is used but never imported in the source code: https://github.com/nuxt/content/blob/main/src/runtime/composables/search.tshttps://github.com/nuxt/content/issues/2404 was a similar issue and was closed after the merge of https://github.com/nuxt/content/pull/2412
but this PR didn't add import for the function
createError
.Additional context
No response
Logs
No response