mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 18:48:14 +03:00
Change types
This commit is contained in:
parent
bbcddd099b
commit
21ad52904c
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
import discordRpc, { Client } from 'discord-rpc';
|
import discordRpc, { Client, Presence } from 'discord-rpc';
|
||||||
|
|
||||||
export class DiscordRPC
|
export class DiscordRPC
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@ export class DiscordRPC
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public static setActivity (activity: any): void
|
public static setActivity (activity: Presence): void
|
||||||
{
|
{
|
||||||
this.rpc.setActivity({
|
this.rpc.setActivity({
|
||||||
...activity,
|
...activity,
|
||||||
|
|
Loading…
Reference in a new issue