fix: unused ts-expect-error

This commit is contained in:
MARCROCK22 2024-03-27 20:30:00 -04:00
parent ccd005fcd7
commit 6368c10d3e

View File

@ -18,7 +18,6 @@ export abstract class ComponentCommand {
abstract run(interaction: ComponentContext<typeof this.componentType>): any; abstract run(interaction: ComponentContext<typeof this.componentType>): any;
get cType(): number { get cType(): number {
// @ts-expect-error
return ComponentType[this.componentType]; return ComponentType[this.componentType];
} }
} }