Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Feb 20, 2024
1 parent 23f09df commit f2a4256
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/popup/popup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ export interface VirtualElement {
}

function isVirtualElement(e: unknown): e is VirtualElement {
return e !== null && typeof e === 'object' && 'getBoundingClientRect' in e && ('contextElement' in e ? e instanceof Element : true);
return (
e !== null &&
typeof e === 'object' &&
'getBoundingClientRect' in e &&
('contextElement' in e ? e instanceof Element : true)
);
}

/**
Expand Down

0 comments on commit f2a4256

Please sign in to comment.