top | item 45705116 (no title) uallo | 4 months ago You are correct if `noUncheckedIndexedAccess` is enabled. It is off by default (which is a pity, really).I assumed `Return<User>` was a mistake, not a custom type as you suggest. But your interpretation seems more likely anyway. discuss order hn newest devjab|4 months ago Both score 7 now though.This scores 6: function a(b) { return b[0]; }This scores 3: const a = (a) => a;
devjab|4 months ago Both score 7 now though.This scores 6: function a(b) { return b[0]; }This scores 3: const a = (a) => a;
devjab|4 months ago
This scores 6: function a(b) { return b[0]; }
This scores 3: const a = (a) => a;