Use spread operator instead of `Object.assign()`
#1482 · TypeScript · ★ 88 · Apache-2.0 · updated 6d ago
NGE uses Object.assign() a lot. Almost all of the uses fall into the following categories and can be simplified: Copying a plain object, can be replaced with {...obj}. Example: netzgrafik-editor-frontend/src/app/services/ui/ui.interaction.service.ts Line 208 in b8cd2ff…
replies in ~1h9/10 outside PRs mergedpoints at a filehas CONTRIBUTINGnobody circling
Cleared 1m ago