Skip to content

Commit

Permalink
fix: typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Nov 24, 2020
1 parent 269ef49 commit 364b0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/utils.ts
Expand Up @@ -11,7 +11,7 @@ export function isEmptyArray(arr: any[]): boolean {
}

export const isObject = (obj: unknown): obj is { [x: string]: any } =>
obj !== null && obj && typeof obj === 'object' && !Array.isArray(obj);
obj !== null && !!obj && typeof obj === 'object' && !Array.isArray(obj);

export function merge(target: any, source: any) {
Object.keys(source).forEach(key => {
Expand Down

0 comments on commit 364b0b7

Please sign in to comment.