throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
jomoljaison opened this issue · 0 comments
jomoljaison commented
throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
^
TypeError: Router.use() requires a middleware function but got a Object