Skip to content

[ts] Remove override modifier#13381

Merged
existentialism merged 1 commit intobabel:mainfrom
sosukesuzuki:remove-override
May 27, 2021
Merged

[ts] Remove override modifier#13381
existentialism merged 1 commit intobabel:mainfrom
sosukesuzuki:remove-override

Conversation

@sosukesuzuki
Copy link
Copy Markdown
Contributor

@sosukesuzuki sosukesuzuki commented May 27, 2021

Q                       A
Fixed Issues? Fixes #13380
Patch: Bug Fix? Y
Tests Added + Pass? Yes
Documentation PR Link
License MIT

@sosukesuzuki sosukesuzuki added area: typescript PR: Bug Fix 🐛 A type of pull request used for our changelog categories labels May 27, 2021
@fedeci fedeci added the PR: Spec Compliance 👓 A type of pull request used for our changelog categories label May 27, 2021
@babel-bot
Copy link
Copy Markdown
Collaborator

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

@codesandbox-ci
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 23860c8:

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

Copy link
Copy Markdown
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

Thanks!

@existentialism existentialism changed the title [ts] Remove override modifer [ts] Remove override modifier May 27, 2021
@existentialism existentialism merged commit c6bebfe into babel:main May 27, 2021
@sosukesuzuki sosukesuzuki deleted the remove-override branch May 27, 2021 15:54
@jtbandes
Copy link
Copy Markdown

When will this be available in a patch release? Seems like it's not possible to run transpiled TS code with overrides until this is included :)

@nicolo-ribaudo
Copy link
Copy Markdown
Member

We'll probably release a patch today.

@nicolo-ribaudo nicolo-ribaudo removed the PR: Spec Compliance 👓 A type of pull request used for our changelog categories label May 28, 2021
@nicolo-ribaudo
Copy link
Copy Markdown
Member

Released in v7.14.4 of the TS plugin

@lgarron
Copy link
Copy Markdown

lgarron commented May 28, 2021

Released in v7.14.4 of the TS plugin

Hmm, there's a v7.14.4 release of @babel/preset-env.

But picking up that version doesn't seem to be enough to prevent errors in my project. Should there be an accompanying @babel/preset-typescript release?

@nicolo-ribaudo
Copy link
Copy Markdown
Member

No, the fix is in @babel/plugin-transform-typescript which is a dependency of @babel/preset-typescript. You can try running npm --depth 9999 update @babel/plugin-transform-typescript to update it.

@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 Aug 29, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2021
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: Bug Fix 🐛 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: "override" modifier of TypeScript 4.3.0 is not removed when transforming to JavaScript

7 participants