From 707d4a667357df1da3308afcb0c76769daba0276 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Sat, 19 Dec 2020 12:19:57 -0500 Subject: [PATCH] Update src/structures/channel.ts Co-authored-by: Ayyan --- src/structures/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/channel.ts b/src/structures/channel.ts index 545a341b7..0d6fba43d 100644 --- a/src/structures/channel.ts +++ b/src/structures/channel.ts @@ -36,7 +36,7 @@ export async function createChannel( ...rest } = data; - const restProps = {}; + const restProps: Record = {}; for (const key of Object.keys(rest)) { // @ts-ignore restProps[key] = createNewProp(rest[key]);