docs: no class inheritance (#47403)

This commit is contained in:
Erick Zhao
2025-06-10 01:00:06 -07:00
committed by GitHub
parent c964296ec3
commit 6aa3665b96
15 changed files with 67 additions and 6 deletions

View File

@@ -25,6 +25,10 @@ app.whenReady().then(() => {
})
```
> [!WARNING]
> Electron's built-in classes cannot be subclassed in user code.
> For more information, see [the FAQ](../faq.md#class-inheritance-does-not-work-with-electron-built-in-modules).
**Platform Considerations**
**Linux**