Type Alias Constant<Value, Content>

Constant<Value, Content>: Value & TagBase<{
    kind: "constant";
    schema: Content;
    target:
        | "string"
        | "boolean"
        | "number"
        | "bigint";
    value: undefined;
}>

Type Parameters

  • Value extends
        | boolean
        | number
        | string
        | bigint
  • Content extends {
        description?: string;
        title?: string;
    }