AdvancedVocabulary#typescript#decorators#metadata#tc39#javascript

TypeScript 5 Decorators & Metadata

TypeScript 5 implements TC39 Stage 3 decorators, replacing the experimental decorator API. Learn vocabulary for the DecoratorContext object, kind property, addInitializer timing, Symbol.metadata for standards-compliant metadata storage, and the breaking differences from experimentalDecorators.

0 / 5 completed
1 / 5
TypeScript 5.0 introduced decorators aligned with the TC39 Stage 3 proposal. How do these differ from the legacy 'experimental' decorators?