@gent-js/gent
Version:
template-based data generator.
9 lines (8 loc) • 476 B
TypeScript
import { type DocumentContent, type DocumentContext } from "../../document/index.js";
import { AbstractJsonable } from "../abstractJsonable.js";
export declare class BooleanJsonable extends AbstractJsonable {
private readonly content;
readonly type: "boolean";
constructor(content: DocumentContent, probability: number | undefined, weight: number | undefined);
protected toJSONImpl(keyOrIndex: string | number, context: DocumentContext): string | undefined;
}