mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
fix: unused ts-expect-error
This commit is contained in:
parent
ccd005fcd7
commit
6368c10d3e
@ -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];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user