/typescript-sandbox

TypeScript Sandbox

Primary LanguageTypeScriptMIT LicenseMIT

TypeScript Sandbox

Build Status

Setup

Just playing about with TypeScript and see where I end up.

Install dependencies with npm install.

Run the entry point with npm start.

You can debug in VS Code using defined Launch Program configuration.

The tsconfig.json "rootDir" property must be set to src for the debugger breakpoints to work!

Type npm run build and npm run dist to run the distributable package as it is meant to be run in production.

Type npm test to run Jest unit tests.

Design Patterns

The classic Gang of Four design patters are the basis for the JavaScript/TypeScript design patterns in this solution.

Tutorials and recommended reading used:

Feedback

Feel free to raise issues and comment on the code. I'm curious to know if this code can look better!