LionC / express-basic-auth

Plug & play basic auth middleware for express
328 stars 57 forks source link

Add missing "declare" statements in the declaration file #3

Closed toverux closed 7 years ago

toverux commented 7 years ago

Hi @LionC,

I'm very sorry to have to annouce that I committed a small but compilation-breaking mistake when I've made a PR for the declaration file.

I was pretty sure to have put those declare statements at a moment (I do have tested that file :/), but they weren't in the final PR (I remember that I've made a copy and paste at a moment, maybe I've overriden something). And this morning while installing the new version, boom, error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file..

This is fixed now, again, I'm sorry you have to release a patch for this :)