12 lines
662 B
TypeScript
12 lines
662 B
TypeScript
import { Type } from "../type";
|
|
export declare const num: import("./type-of").TypeOf<number>;
|
|
export declare const bigint: import("./type-of").TypeOf<bigint>;
|
|
export declare const str: import("./type-of").TypeOf<string>;
|
|
export declare const bool: import("./type-of").TypeOf<boolean>;
|
|
export declare const fn: import("./type-of").TypeOf<Function>;
|
|
export declare const sym: import("./type-of").TypeOf<Symbol>;
|
|
export declare const undef: import("./type-of").TypeOf<undefined>;
|
|
export declare const nil: import("./value").Value<null>;
|
|
export declare const obj: import("./type-of").TypeOf<Object>;
|
|
export declare function maybe<T>(check: Type<T>): Type<T | null>;
|