mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-15 10:58:16 +00:00
fix: cleanup some old ts-ignores
This commit is contained in:
@@ -51,9 +51,8 @@ export class EmojiToggles 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(EmojiToggle)) {
|
||||
// @ts-ignore
|
||||
json[key] = super.contains(value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user