diff --git a/packages/core/strapi/lib/types/core/attributes/date.d.ts b/packages/core/strapi/lib/types/core/attributes/date.d.ts index 310242c2fd..f69220c1d4 100644 --- a/packages/core/strapi/lib/types/core/attributes/date.d.ts +++ b/packages/core/strapi/lib/types/core/attributes/date.d.ts @@ -8,6 +8,6 @@ export type Date = Attribute.OfType<'date'> & Attribute.RequiredOption & Attribute.UniqueOption; -export type DateValue = globalThis.Date; +export type DateValue = globalThis.Date | string; export type GetDateValue = T extends Date ? DateValue : never;