UNPKG

218 BTypeScriptView Raw
1import { PredicateFunction } from "../predicate-function";
2export type PredicateType<Type extends PredicateFunction> = Type extends (target: any, ...rest: any[]) => target is infer NarrowedType ? NarrowedType : never;