argValidator 타입 처리

This commit is contained in:
2023-08-06 13:22:21 +00:00
parent a1502ebc16
commit 3256620276
4 changed files with 8 additions and 0 deletions
+5
View File
@@ -7,7 +7,12 @@ type RType = ExtractResponse<BaseAPI>;
type EType = ExtractError<BaseAPI>;
type QType = ExtractQuery<BaseAPI>;
class Q implements QType {
username: string;
password: string;
}
export class LoginByID extends POST<RType, EType, QType>{
readonly argValidator = undefined;
protected LoginByID = Symbol("LoginByID");//TODO: remove this
protected override async api(query: QType): Promise<RType | EType | true> {
throw new Error("Method not implemented.");