Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorniaky committed Sep 7, 2023
1 parent 81c4878 commit 3f3e94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discloud.app/src/util/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export function mergeDefaults<
A extends Record<any, any>,
B extends Record<any, any>
>(defaults: A, options: B) {
if (typeof options === "undefined" || options === null) return defaults;
if (options === null || options === undefined) return defaults;

const keys = Object.keys(defaults);

Expand Down

0 comments on commit 3f3e94d

Please sign in to comment.