From 54368899f32145650c2501e077c2c2f21a0bb092 Mon Sep 17 00:00:00 2001 From: Alex Tocar Date: Sun, 8 Oct 2023 22:08:16 +0200 Subject: [PATCH] `getEntries` would return `Array` --- src/content/docs/en/reference/api-reference.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/en/reference/api-reference.mdx b/src/content/docs/en/reference/api-reference.mdx index 8ff72677e77c0..59a8abd4acd59 100644 --- a/src/content/docs/en/reference/api-reference.mdx +++ b/src/content/docs/en/reference/api-reference.mdx @@ -922,8 +922,8 @@ See the `Content Collections` guide for examples of [querying collection entries **Types:** -- `(Array<{ collection: string, id: string }>) => CollectionEntry` -- `(Array<{ collection: string, slug: string }>) => CollectionEntry` +- `(Array<{ collection: string, id: string }>) => Array>` +- `(Array<{ collection: string, slug: string }>) => Array>` `getEntries()` is a function that retrieves multiple collection entries from the same collection. This is useful for [returning an array of referenced entries](/en/guides/content-collections/#defining-collection-references) to access their associated `data`, `body`, and `render()` properties.