Open your terminal and run:
git clone https://github.com/typescript-tutorial/data-validation-sample.git
Make sure you have Node.js and npm installed. Then run:
npm install
This project uses TypeScript, so compile the code:
npm run build
Once built, run the sample with compiled javascript code:
npm run js
Run the sample with typescript directly:
npm start