dashpresshq/dashpress

View on GitHub
src/backend/lib/request/validations/implementations/raw-request.ts

Summary

Maintainability
A
0 mins
Test Coverage
C
71%
import type { ValidationImplType } from "./types";

export const rawRequestValidationImpl: ValidationImplType<
  Record<string, unknown>
> = async (req) => {
  return req as unknown as Record<string, unknown>;
};