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