Open shaKY-iota opened 2 years ago
// your answers type Last<T extends readonly unknown[]> = T extends [...unknown[], infer L] ? L : never