@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
15 lines (13 loc) • 402 B
TypeScript
import { FieldState } from "./types.js";
//#region src/types/value/date.d.ts
/**
* A date field.
*
* @typeParam State - State of the field which determines its shape.
*
* @see More details: {@link https://prismic.io/docs/date}
*/
type DateField<State extends FieldState = FieldState> = State extends "empty" ? null : string;
//#endregion
export { DateField };
//# sourceMappingURL=date.d.ts.map