andrew jarrett
andrew jarrett
Sindre, if you'd like to assign this issue to me, that will put it on my todo list so I don't forget.
I'm not sure I totally understand the use case here, but did want to chime in and argue against adding a type parameter to `isArray`, for the same [reasons](https://github.com/total-typescript/ts-reset/#generics-for-jsonparse-responsejson-etc) outlined...
Hey @DeepDoge , not sure if this is related or not, but if you're trying to add support for readonly arrays, the easiest way to do that is to treat...
@anthonyjoeseph you might consider adding 4.5 as an optional peer dependency? ```json { "peerDependencies": { "typescript": "> 4.5.0", }, "peerDependenciesMeta": { "typescript": { "optional": true } } } ```
Couldn't you just do `Extract`?
@MajorLift thanks for your reply. I was picturing the type arguments being swapped in `T2`. I was wondering if that would make things more readable, since users are probably more...
Hey @MajorLift, thank you again for the detailed response. To clarify, my comment about `Extract` wasn't meant as a challenge as much as a suggestion. I was thinking it could...
Also, I'd love to take you up on the challenge to implement `fold`. I don't think I have time to try today, but maybe this weekend I'll give it a...
I think my attempt to be explicit actually introduced ambiguity here 😅 so just to make sure we're on the same page: the reason I made `Extract` non-distributive was show...
> Given that we would never want typeof x to resolve to never unless we're specifically casting to never, I'm not sure I see the use case of Extract as...