ProcDecorator에서 chain 실패시 never 반환해야함

This commit is contained in:
2023-08-18 13:56:02 +00:00
parent c012a81377
commit df8b5e854b
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStruc
import { StartSession } from "../ProcDecorator/StartSession.js";
import { delay } from "../../util/delay.js";
import { declProcDecorators } from "../ProcDecorator/base.js";
import { LoginCtx, loginCtxSessionKey } from "../ProcDecorator/ReqLogin.js";
import { type LoginCtx, loginCtxSessionKey } from "../ProcDecorator/ReqLogin.js";
import { z } from "zod";
type BaseAPI = typeof structure.Login.LoginByToken;
type RType = ExtractResponse<BaseAPI>;