3 ms·
> Just a tip to make that syntax a bit less ugly[0] Using babel / typescript > `a.b = c` becomes `Object.assign({}, a, { b = c })` > can be written as > `{...a,
by noncoml 9y ago
> Just a tip to make that syntax a bit less ugly[0] Using babel / typescript
> `a.b = c` becomes `Object.assign({}, a, { b = c })`
> can be written as
> `{...a, b: c}`
That's very true, but it still not expressively correct in my eyes.
- shadow_banned 9y agoThen don't use it