@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
13 lines (11 loc) • 365 B
TypeScript
import { FieldState } from "./types.js";
//#region src/types/value/timestamp.d.ts
/**
* A timestamp field.
*
* @typeParam State - State of the field which determines its shape.
*/
type TimestampField<State extends FieldState = FieldState> = State extends "empty" ? null : string;
//#endregion
export { TimestampField };
//# sourceMappingURL=timestamp.d.ts.map