UNPKG

@frauschert/ts-guard

Version:

ts-guard is a typescript library that provides composable type guards. Its inspired by zod but focusses only on type guards and is more lightweight.

3 lines 168 B
import type { Guard } from "../types"; export declare function isPromise<T = unknown>(valueGuard?: Guard<T>): Guard<Promise<T>>; //# sourceMappingURL=isPromise.d.ts.map