feat: attempt to enhance type inference

This commit is contained in:
pk5ls20
2024-12-14 05:56:49 +08:00
parent b8808d2531
commit 2fc917a07e
12 changed files with 180 additions and 169 deletions

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;
}