jfromaniello/express-unless

Migrating to v2

syl-oh opened this issue · 1 comments

Hello @jfromaniello, How do I migrate from v1 to v2 in typescript, from what I can see:

  • Options is now Params
  • unless.RequestHandler has disappeared in v2.1.3, what should I use instead ?

Are there any other breaking change?

linked to #39 I guess.
The function unless as not return type I can use to replace unless.RequestHandler, so far any is an ugly option.