Casting Date String from HTTP Json Response In Angular
A clean and strongly typed solution using Decorator Pattern
Published in
3 min readMay 31, 2020
The most important benefit of Typescript is strong typing. TypeScript provides compile time type checking. Thus, developers can work more efficiently with large and complex apps.
The decorator pattern is another commonly used pattern in TypeScript. Combining the decorator pattern with strong typing, we can build a clean and powerful solution in Angular.