From 5e652d99e44750f609b95cf743c6dbe02110e602 Mon Sep 17 00:00:00 2001 From: Juan Jimenez-Anca Date: Sun, 25 Jun 2017 19:33:25 +0200 Subject: [PATCH] electron-packager ignore type --- types/electron-packager/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/electron-packager/index.d.ts b/types/electron-packager/index.d.ts index e5fe985761..cd4e582a09 100644 --- a/types/electron-packager/index.d.ts +++ b/types/electron-packager/index.d.ts @@ -53,7 +53,7 @@ declare namespace ElectronPackager { /** The directory of cached electron downloads. Defaults to "$HOME/.electron". */ cache?: string; /** Do not copy files into App whose filenames regex .match this string. */ - ignore?: RegExp; + ignore?: RegExp | RegExp[] | { (path: string): boolean }; /** Runs `npm prune --production` on the app. */ prune?: boolean; /** If output directory for a platform already exists, replaces it rather than skipping it. */