From 8449cf03e5e4b6dacad73a4b79a63f9f60a6953c Mon Sep 17 00:00:00 2001 From: Daniel Perez Alvarez Date: Mon, 11 Dec 2017 22:02:49 -0800 Subject: [PATCH] Update types for electron-winstaller 2.6 --- types/electron-winstaller/index.d.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/types/electron-winstaller/index.d.ts b/types/electron-winstaller/index.d.ts index bfc294d2a8..b5abd3c6ef 100644 --- a/types/electron-winstaller/index.d.ts +++ b/types/electron-winstaller/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for electron-winstaller 2.6 // Project: https://github.com/electron/windows-installer -// Definitions by: Brendan Forster +// Definitions by: Brendan Forster , Daniel Perez Alvarez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export function convertVersion(version: string): string; @@ -27,13 +27,19 @@ export interface Options { * * Defaults to the `author` field from your app's package.json file when unspecified. */ - authors: string; + authors?: string; /** * The owners value for the nuget package metadata. * * Defaults to the `authors` field when unspecified. */ owners?: string; + /** + * The copyright value for the nuget package metadata. + * + * Defaults to a generated copyright with `authors` or `owners`. + */ + copyright?: string; /** * The name of your app's main `.exe` file. *