mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
fix
This commit is contained in:
@@ -80,7 +80,7 @@ export async function createDiscordenoChannel(
|
||||
guildId: rawGuildId = "",
|
||||
lastPinTimestamp,
|
||||
...rest
|
||||
} = snakeKeysToCamelCase(data) as Channel;
|
||||
} = snakeKeysToCamelCase<Channel>(data);
|
||||
|
||||
const props: Record<string, PropertyDescriptor> = {};
|
||||
Object.keys(rest).forEach((key) => {
|
||||
|
||||
Reference in New Issue
Block a user