Skip to content

Commit 81e36fb

Browse files
author
Jerry Bruwes
committed
modified: index.ts
1 parent 29478e9 commit 81e36fb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

index.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ export default (
8989
configurable?: boolean;
9090
value: null | Record<string, unknown>;
9191
} = { value: null },
92-
): Record<string, unknown>[] => {
93-
return siblings.value.flatMap((value) => {
92+
): Record<string, unknown>[] =>
93+
siblings.value.flatMap((value) => {
9494
Object.defineProperties(value, {
9595
...properties,
9696
[keyParent]: parent,
@@ -107,7 +107,6 @@ export default (
107107
),
108108
];
109109
});
110-
};
111110

112111
/* -------------------------------------------------------------------------- */
113112
/* Reactives */
@@ -121,9 +120,7 @@ export default (
121120
/* Functions */
122121
/* -------------------------------------------------------------------------- */
123122

124-
const startLeaves = (): Record<string, unknown>[] => {
125-
return getLeaves({ value });
126-
};
123+
const startLeaves = (): Record<string, unknown>[] => getLeaves({ value });
127124

128125
/* -------------------------------------------------------------------------- */
129126
/* Computations */

0 commit comments

Comments
 (0)