What happened?
Indentation / formatting/ comments are gone with auto-fix
- }): Type => ({
- ...item,
- id: identifier as string, // comment a
- name: identifier === NOT_FOUND ? something : undefined, // comment b
- }),
+ }): Type => (Object.assign(item, {id:identifier as string,name:identifier===NOT_FOUND?something:undefined})),
What happened?
Indentation / formatting/ comments are gone with auto-fix