Files
core_ng/server/api/Login/test.ts
T
Hide_D 81d16aaba2 refac: api 시스템 교체
- procDecorator의 타입 복잡도를 낮춤
- 타입 에러가 살짝 더 깔끔함
2023-08-09 16:10:53 +00:00

16 lines
577 B
TypeScript

import { GET } from "../defs";
import type { structure } from "../../apiStructure/sammoRootAPI";
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs";
import { declProcDecorators } from "../ProcDecorator/base";
type BaseAPI = typeof structure.Login.test;
type RType = ExtractResponse<BaseAPI>;
type EType = ExtractError<BaseAPI>;
type QType = ExtractQuery<BaseAPI>;
export const test = GET<RType, EType, QType>
(undefined)
(declProcDecorators([] as const))
(() => {
throw new Error("Method not implemented.");
});