Type alias GuardTypes<Guards, Result>

GuardTypes<Guards, Result>: Guards extends readonly [infer Head, ...(infer Tail)] ? Tail extends readonly AnyTypeGuard[] ? GuardTypes<Tail, Combine<DeepGuardType<Head>, Result>> : never : Result

Given an array of Type Guards, will return the intersection of all given Guard Types. Think GuardType for arrays.

Type Parameters

Generated using TypeDoc