Closed tjk closed 11 months ago
Doesn't look like ts-reset is to blame here!
@mattpocock could you elaborate please?
Try it without ts-reset installed - same result.
But without ts-reset, the base .filter(Boolean) improvements also have same result.... I'm asking why this could not also be improved? We can both see it could do a better job here, right? Is this just not possible?
On Sun, Sep 3, 2023 at 1:01 AM Matt Pocock @.***> wrote:
Try it without ts-reset installed - same result.
— Reply to this email directly, view it on GitHub https://github.com/total-typescript/ts-reset/issues/163#issuecomment-1704042060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2VKAOWO27OE5O6LQYEA3XYQ2NZANCNFSM6AAAAAA3ZI44V4 . You are receiving this because you authored the thread.Message ID: @.***>
Right - no, it isn't, because of the way that TS treats excess property checking.
Is this expected?
TS Playground