mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fix(tests): fix typescripts errors
This commit is contained in:
@@ -25,7 +25,7 @@ async function ifItFailsBlameWolf(options: CreateGuildChannel, save = false) {
|
||||
|
||||
if (
|
||||
options.permissionOverwrites &&
|
||||
channel.permissionOverwrites.length !== options.permissionOverwrites.length
|
||||
channel.permissionOverwrites?.length !== options.permissionOverwrites.length
|
||||
) {
|
||||
throw new Error(
|
||||
"The channel was supposed to have a permissionOverwrites but it does not appear to be the same permissionOverwrites.",
|
||||
|
||||
Reference in New Issue
Block a user