Skip to content

Commit

Permalink
Format by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mtgto committed Mar 13, 2021
1 parent 84bd7fc commit 38044c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/spectron.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,13 @@ declare module 'spectron' {
): Promise<AccessibilityAuditResult>;
}

export type SpectronWindow = { [P in keyof Electron.BrowserWindow]: Electron.BrowserWindow[P] extends (...args: infer A) => infer R ? (...args: A) => Promise<R> : undefined };
export type SpectronWindow = {
[P in keyof Electron.BrowserWindow]: Electron.BrowserWindow[P] extends (
...args: infer A
) => infer R
? (...args: A) => Promise<R>
: undefined;
};

export interface SpectronWebContents extends Electron.WebContents {
savePage(
Expand Down

0 comments on commit 38044c8

Please sign in to comment.