Skip to content

bingtimren/experiment-n-learn-typescript-decorator

Repository files navigation

typescript-decorator-example

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

How to use this project

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.

About

Typescript decorator example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published