Last active
May 17, 2020 13:34
-
-
Save Gilbishkosma/74624fa46d1c98adcdcc1e04e94f081c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Required | |
yarn add koa koa-router koa-views koa-body ejs nodemon | |
## If type orm used | |
yarn add -D @types/koa @types/koa-router @types/koa-views | |
## TypeScript sometimes not able to transcript body from ctx.request.body | |
For that add this in tscongig: | |
"compilerOptions": { | |
"types": ["koa-body"], | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment