Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
dileepainivossl committed Aug 5, 2024
1 parent 4bdaec0 commit 5c8178d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/requestValidator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NextFunction, Request, Response } from 'express'
import { type NextFunction, type Request, type Response } from 'express'
import { ZodError, type ZodSchema } from 'zod'

export const requestBodyValidator = (schema: ZodSchema<any, any, any>) => {

Check warning on line 4 in src/middlewares/requestValidator.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type

Check warning on line 4 in src/middlewares/requestValidator.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type

Check warning on line 4 in src/middlewares/requestValidator.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type
Expand Down

0 comments on commit 5c8178d

Please sign in to comment.