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