sahil87 / zapatos-example

Trying to replicate a typescript error in zapatos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zapatos-example

Trying to replicate a typescript error in zapatos

Steps:

sudo rm -rf data; #To clean up previous db
docker-compose up -d; 
docker-compose exec zapatos-example bash;

#The following steps are to be exec'ed into the docker:
cd /src;
npm install;
$(npm bin)/ts-node src/index.ts

Diagnosis

Need to enable "strict": true in tsconfig.json to fix the error.

About

Trying to replicate a typescript error in zapatos


Languages

Language:TypeScript 98.9%Language:Shell 1.1%