arb / celebrate

A joi validation middleware for Express.
MIT License
1.33k stars 66 forks source link

Add generic celebrate function declaration #200

Closed aarifkhamdi closed 3 years ago

aarifkhamdi commented 3 years ago

As RequestHandler in express defined as interface RequestHandler<P = core.ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = core.Query> extends core.RequestHandler<P, ResBody, ReqBody, ReqQuery> { } we also have to support parameters

codecov-io commented 3 years ago

Codecov Report

Merging #200 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #200   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            4         4           
=========================================
  Hits             4         4           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 653cbe5...5c3ee96. Read the comment docs.