Skip to content

[babel 8] Enable allowDeclareFields option by default with TS#12461

Merged
nicolo-ribaudo merged 4 commits into
babel:mainfrom
nicolo-ribaudo:backport-ts-keep-class-fields
Jan 8, 2021
Merged

[babel 8] Enable allowDeclareFields option by default with TS#12461
nicolo-ribaudo merged 4 commits into
babel:mainfrom
nicolo-ribaudo:backport-ts-keep-class-fields

Conversation

@nicolo-ribaudo

@nicolo-ribaudo nicolo-ribaudo commented Dec 9, 2020

Copy link
Copy Markdown
Member
Q                       A
Major: Breaking Change? Yes
Tests Added + Pass? Yes
Documentation PR Link babel/website#2765
Any Dependency Changes?
License MIT

Backport of #11114, same as #12457 but for TS.

Please review with whitespace diff off

@babel-bot

babel-bot commented Dec 9, 2020

Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/37006/

@codesandbox-ci

codesandbox-ci Bot commented Dec 9, 2020

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e087d68:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@hzoo hzoo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confused myself since enabling by default "allowDeclareFields" also includes removing the option 😂

@nicolo-ribaudo nicolo-ribaudo changed the title [babel 8] Enable allowDeclareFields option by default with TS [babel 8] Make allowDeclareFields the default behavior with TS Dec 9, 2020
@nicolo-ribaudo nicolo-ribaudo changed the title [babel 8] Make allowDeclareFields the default behavior with TS [babel 8] Enable allowDeclareFields option by default with TS Dec 9, 2020
@nicolo-ribaudo

Copy link
Copy Markdown
Member Author

It's hard to write a PR title short enough that it fits in a commit header message 😛

@nicolo-ribaudo
nicolo-ribaudo requested a review from JLHwung January 7, 2021 16:14
@nicolo-ribaudo
nicolo-ribaudo force-pushed the backport-ts-keep-class-fields branch from cfe7dde to 1119524 Compare January 7, 2021 21:35
@nicolo-ribaudo
nicolo-ribaudo force-pushed the backport-ts-keep-class-fields branch 6 times, most recently from da7cf92 to cad1659 Compare January 7, 2021 23:29
@nicolo-ribaudo
nicolo-ribaudo force-pushed the backport-ts-keep-class-fields branch from cad1659 to e087d68 Compare January 8, 2021 00:01
@nicolo-ribaudo
nicolo-ribaudo merged commit 50462eb into babel:main Jan 8, 2021
@nicolo-ribaudo
nicolo-ribaudo deleted the backport-ts-keep-class-fields branch January 8, 2021 00:28
@github-actions github-actions Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Apr 9, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 9, 2021
@nicolo-ribaudo nicolo-ribaudo added babel 8 PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release and removed babel-8-dev → main babel 8 labels Aug 8, 2023
@JLHwung JLHwung added this to the v8.0.0 milestone Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: typescript outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants