UNPKG

typescanner

Version:

A simple library for implementing type guard in TypeScript.

5 lines (4 loc) 232 B
import type { Condition } from "../types"; export declare const scanner: <T extends Record<string, unknown>>(fields: { [K in keyof Required<T>]: Condition<T[K]>; }, option?: { outputLog: boolean; } | undefined) => Condition<T>;