Skip to content

Commit 38044c8

Browse files
committed
Format by prettier
1 parent 84bd7fc commit 38044c8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/spectron.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,13 @@ declare module 'spectron' {
118118
): Promise<AccessibilityAuditResult>;
119119
}
120120

121-
export type SpectronWindow = { [P in keyof Electron.BrowserWindow]: Electron.BrowserWindow[P] extends (...args: infer A) => infer R ? (...args: A) => Promise<R> : undefined };
121+
export type SpectronWindow = {
122+
[P in keyof Electron.BrowserWindow]: Electron.BrowserWindow[P] extends (
123+
...args: infer A
124+
) => infer R
125+
? (...args: A) => Promise<R>
126+
: undefined;
127+
};
122128

123129
export interface SpectronWebContents extends Electron.WebContents {
124130
savePage(

0 commit comments

Comments
 (0)