리팩토링
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ngGET } from "../defs";
|
||||
import { GET } from "../defs";
|
||||
import type { structure } from "../../apiStructure/sammoRootAPI";
|
||||
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs";
|
||||
|
||||
@@ -7,7 +7,7 @@ type RType = ExtractResponse<BaseAPI>;
|
||||
type EType = ExtractError<BaseAPI>;
|
||||
type QType = ExtractQuery<BaseAPI>;
|
||||
|
||||
export const test = ngGET<RType, EType, QType>(undefined)(undefined)(
|
||||
export const test = GET<RType, EType, QType>(undefined)(undefined)(
|
||||
(query, ctx, req, res) => {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user