From 245201fefb044143b70eb0f3cabe3ae784cc0a53 Mon Sep 17 00:00:00 2001 From: Espen Hovlandsdal Date: Mon, 11 Jul 2022 13:48:58 -0700 Subject: [PATCH] fix(types): add missing `placeholder` property on date/datetime schema definitions --- packages/@sanity/types/src/schema/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/@sanity/types/src/schema/types.ts b/packages/@sanity/types/src/schema/types.ts index 5c671a4a155..3fa8e2a6476 100644 --- a/packages/@sanity/types/src/schema/types.ts +++ b/packages/@sanity/types/src/schema/types.ts @@ -195,6 +195,7 @@ export namespace Schema { export interface DateDefinition extends BaseDefinitionOptions { type: 'date' options?: DateOptions + placeholder?: string } export interface DatetimeOptions { @@ -207,6 +208,7 @@ export namespace Schema { export interface DatetimeDefinition extends BaseDefinitionOptions { type: 'datetime' options?: DatetimeOptions + placeholder?: string } export interface DocumentDefinition extends Omit {