Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Feb 25, 2025
1 parent f596448 commit 8c616f2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/client/client-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import type * as d from '../declarations';

export const win = typeof window !== 'undefined' ? window : ({} as Window);

export const doc = win.document || ({
head: {},
querySelectorAll: () => [] as unknown[],
} as unknown as Document);
export const doc =
win.document ||
({
head: {},
querySelectorAll: () => [] as unknown[],
} as unknown as Document);

export const H = ((win as any).HTMLElement || (class {} as any)) as HTMLElement;

Expand Down

0 comments on commit 8c616f2

Please sign in to comment.