koajs / joi-router

Configurable, input and output validated routing for koa
MIT License
450 stars 96 forks source link

Fixed basic example #40

Closed nicodinh closed 7 years ago

nicodinh commented 7 years ago

To avoid this:

const app = koa();
            ^
TypeError: Class constructor Application cannot be invoked without 'new'
codecov[bot] commented 7 years ago

Codecov Report

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

@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files           3        3           
  Lines         248      248           
  Branches       50       50           
=======================================
  Hits          247      247           
  Misses          1        1

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 0989227...9e42fab. Read the comment docs.