Closed emindeniz99 closed 3 years ago
I have tried to write TypeScript types, but I cant find any case that r.conditions are function.
if (typeof r.conditions === 'function') { return r.conditions(req) }
That block seems unreachable.
routes array consist of [Function,Function] or [] (empty array)
return this.handle([Trace, Path(url)], handler) return this.handle([], handler)
return this.handle([Trace, Path(url)], handler)
return this.handle([], handler)
Closed due to rewrite in #35
I have tried to write TypeScript types, but I cant find any case that r.conditions are function.
That block seems unreachable.
routes array consist of [Function,Function] or [] (empty array)
return this.handle([Trace, Path(url)], handler)
return this.handle([], handler)