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]);