type Length<T extends readonly unknown[]> = T['length']
Solution by Abdullah-Elsayed01 #36753
type Length<T extends readonly string[]> = T['length']
Solution by tungulin #36714
type Length<T extends string[]> = T["length"]
Solution by Mamdouhreda #36708
// 你的答案
type Length<T extends readonly any[]> = T['length']
Solution by PurplePlanen #36700
type Length<T> = T extends readonly [...infer A] ? T['length'] : never
Solution by LaFocus #36688
type Length<T extends readonly any[]> = T['length']
Solution by seungdeok #36660
type Length<T extends readonly any[]> = T['length'];
Solution by tjd985 #36615
// 你的答案
type Length<T extends readonly any[]> = T['length'] extends 0 ? 0 : T['length']
// type Length<T extends readonly any[]> = T['length']
Solution by MrSissel #36581
// 你的答案
type Length<T extends readonly any[]> = T['length']
Solution by mola-fish #36576
type Length<T extends readonly any[]> = T['length']
Solution by ChemieAi #36550
type Length<T extends readonly any[]> = T['length']
Solution by UsGitHu611 #36495
type Length<T extends {
length: number;
}> = T['length']
Solution by rinkeshpurohit #36461
type Length<T extends readonly any[]> = T['length']
Solution by gakki-san #36443
type Length<T extends readonly any[]> = T['length']
Solution by alirezaprime #36412
// your answers
type Length<T extends readonly any[]> = T['length'];
Solution by justBadProgrammer #36359
// 你的答案
type Length<T extends readonly any[]> = T['length']
Solution by ATravelerGo #36352
type Length<T extends readonly unknown[]> = T["length"]
Solution by asylbekduldiev #36331
type Length<T extends readonly any[]> = T['length']
Solution by 1Alex4949031 #36310
type Length<T> = T extends readonly any[] ? T['length'] : never
Solution by Jace254 #36267
type Length<T extends Readonly<Array<any>> > = T['length']
Solution by Maxim-Do #36225
type Length<T extends readonly any[] > = T['length']
Solution by EvgeniyKoch #36194
type Length<T extends readonly string[]> = T['length']
Solution by tungulin #36155
type Length<T extends readonly string[]> = T['length']
Solution by AleksandrShcherbackov #36142
type Length<T extends readonly any[]> = T['length']
Solution by KimKyuHoi #36114
type Length<T extends readonly any[]> = T['length']
Solution by jhsung23 #36105
// your answers
Solution by Matteo9730 #36066
type Length<T extends readonly any[]> = T["length"]
Solution by karazyabko #36026
// your answers
type Length<T extends readonly any[]> = T['length'];
Solution by krokerdile #36004
type Length<T extends readonly any[]> = T extends readonly any[] ? T['length'] : never;
Solution by codingaring #35927