An open API service indexing awesome lists of open source software.

https://github.com/tsvetan-ganev/angular-type-coercion-decorators

Angular 13 project that showcases the use of custom decorator functions that enable automatic type coercion for input properties inside components.
https://github.com/tsvetan-ganev/angular-type-coercion-decorators

angular decorators typescript

Last synced: about 2 months ago
JSON representation

Angular 13 project that showcases the use of custom decorator functions that enable automatic type coercion for input properties inside components.

Awesome Lists containing this project

README

          

# About the project

This project showcases the usage of custom decorator functions that enable `@Input` properties type coercion in Angular components. You can read more about the topic in the [article on my website](https://tsvetan.dev/blog/article/property-type-coercion-in-angular-using-decorators/).

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.2.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.