feat: attempt to enhance type inference

This commit is contained in:
pk5ls20 committed 2024-12-14 05:56:49 +08:00
1 parent 7b693132f9
commit a6adde7966
12 files changed
+180 -169

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
import { ActionName } from '@/onebot/action/router';
import CanSendRecord from './CanSendRecord';
import CanSendRecord, {CanSend} from './CanSendRecord';
interface ReturnType {
yes: boolean;
}
export default class CanSendImage extends CanSendRecord {
export default class CanSendImage extends CanSend {
actionName = ActionName.CanSendImage;
}