Post

Todd Motto
Todd Motto@toddmotto·
Destructuring is still the nicest way to remove an object property. I always name it 'removed' for clarity. TypeScript doesn't like unused variables, comment added to keep the compiler happy.
Todd Motto tweet media
English
10
2
60
5.3K
Basile
Basile@basile_dev·
@toddmotto Ha yes for immutable way this might be the best way
English
0
0
1
50
Paylaş