docs: fix some module headings (#48194)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
This commit is contained in:
trop[bot] 2025-08-28 10:25:20 +02:00 committed by GitHub
commit 55ba373480
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View file

@ -1,3 +1,5 @@
# MenuItem
## Class: MenuItem ## Class: MenuItem
> Add items to native application menus and context menus. > Add items to native application menus and context menus.

View file

@ -1,11 +1,7 @@
# ServiceWorkerMain ## Class: ServiceWorkerMain
> An instance of a Service Worker representing a version of a script for a given scope. > An instance of a Service Worker representing a version of a script for a given scope.
Process: [Main](../glossary.md#main-process)
## Class: ServiceWorkerMain
Process: [Main](../glossary.md#main-process)<br /> Process: [Main](../glossary.md#main-process)<br />
_This class is not exported from the `'electron'` module. It is only available as a return value of other methods in the Electron API._ _This class is not exported from the `'electron'` module. It is only available as a return value of other methods in the Electron API._