This commit is contained in:
ITOH
2021-04-12 09:30:45 +02:00
parent 51e27d8f17
commit b9bd29ebf8
44 changed files with 268 additions and 221 deletions
+1 -1
View File
@@ -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) => {