Typescript Decorator Examples
This project provides examples that both tests and verifies the TypeScript Decorators features, and explore the possible usage of the feature. It also serve as an introduction of how Decorators work by working codes.
Read documentation about Decorators at https://www.typescriptlang.org/docs/handbook/decorators.html
Clone this project, then run:
npm install
npm run test
If all tests passed, check out the test source codes under the 'src' directory. The codes contain elaborate comments to explain the purpose of the example codes and what feature of Decorators it tests.