// import { Checking, type Test } from "hry-types"; export type Validators = L extends [infer Head, ...infer Tail extends unknown[]] ? unknown extends Head ? Validators : Head : unknown; // type list = [1, 2, 3]; // type list2 = [unknown, 1, 2]; // type lll = Validators; // Checking; // type lll2 = Validators; // Checking;