Revert "fix: coerce"

This reverts commit fb20b2e16c.
This commit is contained in:
手瓜一十雪
2025-04-19 10:53:29 +08:00
parent a5455e27d1
commit ceea50b116
7 changed files with 35 additions and 40 deletions

View File

@@ -1,9 +1,9 @@
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { ActionName, BaseCheckResult } from '@/onebot/action/router';
export abstract class GetPacketStatusDepends<PT, RT> extends OneBotAction<PT, RT> {
protected override async check(payload: PT) {
protected override async check(payload: PT): Promise<BaseCheckResult>{
if (!this.core.apis.PacketApi.available) {
return {
valid: false,