Eugene Obrezkov

Results 135 comments of Eugene Obrezkov

@pseudopirate when I wrote the solution, it worked back then. Can't say much about what have changed. I guess there could be some explanation on the issue @SUtengda posted.

@hpr you are right. Having a constraint over an array seems like more natural even, comparing to my original solution.

@EmmaammE yeah, there are some cases when the community adds more test cases after I've solved them and explained. Which brings more requirements and (sometimes) breaks the solution. That's why...

@AbePlays type `any` means literally any type that can be in the type system. The drawback of this type is that the type system does not check the holder of...

@hpr but, if you use built-in for solving the challenge here, it means we could use built-in `Capitalize` itself, don't we? 🙂 I don't think it is "fair enough" (just...

@Alexsey true, it seems like I've overdone it while looking for the solution. For others to note, there is no sense in using variadic types because we proxy the `P`...

@froziq пишет: В песочнице не проходят два кейса (возможно их добавили позже того, как было предоставлено решение тобой) ```ts Expect, Expect, ``` в них если делать рекурсивно, то будут вырезаны...

@DaniGuardiola I used remapped type to filter out properties. It's pretty much the same as your solution, but as you already pointed out there could be some edge-cases, yes.

@likui628 you are right. When I was solving the challenge I thought that is why it works. But later on I've figured out that using `[]` syntax dismisses the distributivity...

@igalklebanov you can replace `Index` with `PropertyKey` type. It's built-in in TypeScript.