koajs / router

Router middleware for Koa. Maintained by @forwardemail and @ladjs.
MIT License
849 stars 174 forks source link

Suggest installing types as dev dependencies #163

Closed ccouzens closed 1 year ago

ccouzens commented 1 year ago

Typescript types are usually only required at build time, and not runtime. But the old instructions would end up with the types being around at run-time.

From the npm install documentation

npm install saves any specified packages into dependencies by default.

Checklist