UNPKG

@gent-js/gent

Version:

template-based data generator.

9 lines (8 loc) 443 B
import type { DocumentContext } from "../../document/index.js"; import { AbstractJsonable } from "../abstractJsonable.js"; import type { JsonNull } from "../jsonTypes.js"; export declare class NullJsonable extends AbstractJsonable { readonly type: "null"; constructor(probability: number | undefined, weight: number | undefined); protected toJSONImpl(keyOrIndex: string | number, context: DocumentContext): JsonNull | undefined; }