@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
10 lines (9 loc) • 456 B
TypeScript
import type * as schema from '../../schema';
import { AbsType } from './AbsType';
import type { TypeSystem } from '../../system/TypeSystem';
import type { json_string } from '@jsonjoy.com/util/lib/json-brand';
export declare class BoolType extends AbsType<schema.BooleanSchema> {
protected schema: schema.BooleanSchema;
constructor(schema: schema.BooleanSchema);
toJson(value: unknown, system?: TypeSystem | undefined): json_string<boolean>;
}