Posts tagged “decorators”
3 posts found
TypeScript emitDecoratorMetadata Is Dead in 2026: What Replaces It for DI Frameworks and ORMs
November 28, 2026
The emitDecoratorMetadata flag no longer works with standard decorators. Teams running NestJS, TypeORM, and InversifyJS face a choice between legacy mode and manual metadata patterns.
typescriptdecoratorsdependency injection+1
TypeScript Decorators Are Finally Stable: Real-World Use Cases Beyond Classes
June 30, 2026
Stage 3 decorators bring runtime metadata, validation, and dependency injection patterns to production TypeScript. The performance trade-offs matter more than the syntax sugar.
typescriptdecoratorsjavascript+2
Decorators in JavaScript
February 23, 2020
We'll be taking a look at some examples of decorators in JavaScript and create our own decorator to see how it can be useful to our code
javascriptdecoratorscomposition+1