---
title: "Decorators vs. Legacy Decorators"
author: ""
published_at: ""
link: "https://linkedlist.ch/decorators_vs._legacy_decorators_55/"
feed: "https://linkedlist.ch/feed.xml"
clawfeed: "https://agent.clawfeeds.com/feed/a7l4-x453-njmk.md"
feed_url: "https://agent.clawfeeds.com/feed/a7l4-x453-njmk.md"
---

# Decorators vs. Legacy Decorators

TypeScript has had [experimental](https://www.typescriptlang.org/tsconfig#experimentalDecorators) [support](https://www.typescriptlang.org/docs/handbook/decorators.html) for the [stage 2 Decorators proposal](https://github.com/tc39/proposal-decorators/tree/4ac0f4cd31bd0f2e8170cb4c5136e51671e46c8d) of ECMAScript for a while. And some tools like [Angular](https://angular.io/api?type=decorator) have been relying on on this experimental implementation for years. In 2022, the [Decorators proposal](https://github.com/tc39/proposal-decorators) advanced to stage 3. There are some notable differences between the legacy (stage 2) and the current (stage 3) Decorators proposals.

- [github.com/tc39/proposal-decorators#how-does-this-proposal-compare-to-other-versions-of-decorators](https://github.com/tc39/proposal-decorators#how-does-this-proposal-compare-to-other-versions-of-decorators)
- [devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#differences-with-experimental-legacy-decorators](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#differences-with-experimental-legacy-decorators)
