docs: fix some module headings (#48177)

This commit is contained in:
Erick Zhao
2025-08-27 14:52:26 -07:00
committed by GitHub
parent fea1a2a987
commit bf29d2f0bd
2 changed files with 3 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
# MenuItem
## Class: MenuItem
> 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.
Process: [Main](../glossary.md#main-process)
## Class: ServiceWorkerMain
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._