From 21ad52904c22286a99b1a7188117cb9d04ab736b Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 19:47:30 +0200 Subject: [PATCH] Change types --- src/ts/lib/DiscordRPC.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/lib/DiscordRPC.ts b/src/ts/lib/DiscordRPC.ts index 56e40e8..a693707 100644 --- a/src/ts/lib/DiscordRPC.ts +++ b/src/ts/lib/DiscordRPC.ts @@ -1,4 +1,4 @@ -import discordRpc, { Client } from 'discord-rpc'; +import discordRpc, { Client, Presence } from 'discord-rpc'; 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({ ...activity,