DEV Community

Anup Bhattarai
Anup Bhattarai

Posted on

How can i fix the Element Implicity and No index Signature Error?

0

I am getting an Error in specialCodes[letter] saying Element implicitly has an 'any' type because expression of type 'string' can't be used to index type and No index signature with a parameter of type 'string' was found on type

import { Message, MessageEmbed } from "discord.js"
import BaseCommand from "../../utils/structures/BaseCommand";

Top comments (0)