Skip to content

Commit 3e45f46

Browse files
fix: lint
1 parent 5205750 commit 3e45f46

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/make-exported.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ const makeExported = <T extends object>(
1313
},
1414
shouldExtend = true,
1515
): void => {
16-
store[exportedPropName] = { ...(shouldExtend ? store?.[exportedPropName] ?? {} : {}), ...props };
16+
store[exportedPropName] = {
17+
...(shouldExtend ? (store?.[exportedPropName] ?? {}) : {}),
18+
...props,
19+
};
1720
};
1821

1922
/**

0 commit comments

Comments
 (0)