mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 00:53:04 -04:00
Add Web/Desktop specific plugin capabilities; misc fixes
This commit is contained in:
parent
3b945b87b8
commit
5d1283bd85
11 changed files with 89 additions and 85 deletions
3
src/globals.d.ts
vendored
3
src/globals.d.ts
vendored
|
@ -51,8 +51,7 @@ declare global {
|
|||
* Only available when running in Electron, undefined on web.
|
||||
* Thus, avoid using this or only use it inside an {@link IS_WEB} guard.
|
||||
*
|
||||
* If you really must use it, mark your plugin as Desktop App only via
|
||||
* `target: "DESKTOP"`
|
||||
* If you really must use it, mark your plugin as Desktop App only by naming it Foo.desktop.ts(x)
|
||||
*/
|
||||
export var DiscordNative: any;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue