@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
18 lines (16 loc) • 494 B
TypeScript
import { EmptyObjectField, FieldState } from "./types.js";
//#region src/types/value/geoPoint.d.ts
/**
* A geopoint field.
*
* @typeParam State - State of the field which determines its shape.
*
* @see More details: {@link https://prismic.io/docs/geopoint}
*/
type GeoPointField<State extends FieldState = FieldState> = State extends "empty" ? EmptyObjectField : {
latitude: number;
longitude: number;
};
//#endregion
export { GeoPointField };
//# sourceMappingURL=geoPoint.d.ts.map