typia
Version:
Superfast runtime validators with only one line
10 lines (7 loc) • 387 B
text/typescript
import { HttpValidateQueryProgrammer } from "../../../programmers/http/HttpValidateQueryProgrammer";
import { GenericTransformer } from "../../internal/GenericTransformer";
export namespace HttpValidateQueryTransformer {
export const transform = GenericTransformer.scalar("http.validateQuery")(
(project) => (modulo) => HttpValidateQueryProgrammer.write(project)(modulo),
);
}