Skip to content

Commit

Permalink
Fixing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaal111 committed Sep 7, 2024
1 parent 9a0c2af commit efe6b67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/objects/flatten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function _flatten<Result extends Record<string, unknown>>(
}, initialResult);
}

function flatten<Result extends Record<string, unknown>>(
export function flatten<Result extends Record<string, unknown>>(
obj: Record<string, unknown>
): Result {
return _flatten(obj);
Expand Down
2 changes: 1 addition & 1 deletion src/objects/unflatten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function setNestedValue<Result extends object>(
};
}

function unflatten<Result extends object, Delimiter extends string>(
export function unflatten<Result extends object, Delimiter extends string>(
data: object,
delimiter: Character<Delimiter>
): Result {
Expand Down

0 comments on commit efe6b67

Please sign in to comment.