babel / babel/website

Update docs to include the description of what `legacy` actually does for `@babel/plugin-proposal-decorators`

Open
#2,741 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
777
Forks
1.4k
Avg merge
16h 45m
Merged PRs (30d)
3

Description

The docs are very vague about `legacy` flag on `@babel/plugin-proposal-decorators`.
They don't tell which one should a developer choose: `legacy: false` or `legacy: true`.
There is no description of the actual difference in behaviour whether the flag is enabled or disabled.
https://babeljs.io/docs/en/next/babel-plugin-proposal-decorators.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.