diff --git a/github-electron/github-electron-main-tests.ts b/github-electron/github-electron-main-tests.ts index a60ffed8e..432fb58fd 100644 --- a/github-electron/github-electron-main-tests.ts +++ b/github-electron/github-electron-main-tests.ts @@ -497,7 +497,10 @@ crashReporter.start({ productName: 'YourName', companyName: 'YourCompany', submitURL: 'https://your-domain.com/url-to-submit', - autoSubmit: true + autoSubmit: true, + extra: { + someKey: "value" + } }); // nativeImage diff --git a/github-electron/github-electron.d.ts b/github-electron/github-electron.d.ts index 85f6eaa98..799276424 100644 --- a/github-electron/github-electron.d.ts +++ b/github-electron/github-electron.d.ts @@ -1353,7 +1353,7 @@ declare module GitHubElectron { * Only string properties are send correctly. * Nested objects are not supported. */ - extra?: any; + extra?: {[prop: string]: string}; } interface CrashReporterPayload extends Object {