diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 32d27b8d8aed..171a0997f141 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -58,20 +58,14 @@ crash reports. ### `crashReporter.getLastCrashReport()` -Returns `Object`: - -* `date` String -* `ID` Integer +Returns [`CrashReport`](structures/crash-report.md): Returns the date and ID of the last crash report. If no crash reports have been sent or the crash reporter has not been started, `null` is returned. ### `crashReporter.getUploadedReports()` -Returns `Object[]`: - -* `date` String -* `ID` Integer +Returns [`CrashReport[]`](structures/crash-report.md): Returns all uploaded crash reports. Each report contains the date and uploaded ID. diff --git a/docs/api/structures/crash-report.md b/docs/api/structures/crash-report.md new file mode 100644 index 000000000000..b26d4adeca70 --- /dev/null +++ b/docs/api/structures/crash-report.md @@ -0,0 +1,4 @@ +# CrashReport Object + +* `date` String +* `ID` Integer \ No newline at end of file