Skip to content

Commit e3d589f

Browse files
committed
fix: fix typedef for preview title
1 parent 12ce7fc commit e3d589f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/root-cms/core/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export type Collection = SchemaWithTypes & {
340340
*/
341341
preview?: {
342342
/** The field that provides the document title. */
343-
title?: string;
343+
title?: string | string[];
344344
/** The field that provides the document image. */
345345
image?: string | string[];
346346
/** A fallback image to display when the document image field is empty. */

0 commit comments

Comments
 (0)