mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Make CrashReporterStartOptions.extra have only string properties
This commit is contained in:
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user