fix: cleanup some old ts-ignores

This commit is contained in:
Skillz4Killz
2022-03-21 12:20:31 +00:00
committed by GitHub
parent fe42864b00
commit efeec03354
8 changed files with 8 additions and 16 deletions
+1 -2
View File
@@ -75,9 +75,8 @@ export class VoiceStateToggles extends ToggleBitfield {
/** Lists all the toggles for the role and whether or not each is true or false. */
list() {
const json = {};
const json: Record<string, boolean> = {};
for (const [key, value] of Object.entries(VoiceStateToggle)) {
// @ts-ignore
json[key] = super.contains(value);
}