UNPKG

326 BTypeScriptView Raw
1import { Type } from './type';
2/**
3 * Null type
4 */
5export declare class NullType implements Type<null> {
6 readonly name = "boolean";
7 isInstance(value: any): boolean;
8 defaultValue(): null;
9 isCoercible(value: any): boolean;
10 coerce(value: any): null;
11 serialize(value: boolean | null | undefined): null;
12}