From 38044c886751880e3133311a85c40102feacf74e Mon Sep 17 00:00:00 2001 From: mtgto Date: Sat, 13 Mar 2021 16:22:09 +0900 Subject: [PATCH] Format by prettier --- lib/spectron.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/spectron.d.ts b/lib/spectron.d.ts index 69300237a..deee7cf55 100644 --- a/lib/spectron.d.ts +++ b/lib/spectron.d.ts @@ -118,7 +118,13 @@ declare module 'spectron' { ): Promise; } - export type SpectronWindow = { [P in keyof Electron.BrowserWindow]: Electron.BrowserWindow[P] extends (...args: infer A) => infer R ? (...args: A) => Promise : undefined }; + export type SpectronWindow = { + [P in keyof Electron.BrowserWindow]: Electron.BrowserWindow[P] extends ( + ...args: infer A + ) => infer R + ? (...args: A) => Promise + : undefined; + }; export interface SpectronWebContents extends Electron.WebContents { savePage(