Skip to content

Support flow extends bound#17923

Merged
nicolo-ribaudo merged 3 commits into
babel:mainfrom
JLHwung:support-flow-extends-bound
Apr 24, 2026
Merged

Support flow extends bound#17923
nicolo-ribaudo merged 3 commits into
babel:mainfrom
JLHwung:support-flow-extends-bound

Conversation

@JLHwung

@JLHwung JLHwung commented Apr 2, 2026

Copy link
Copy Markdown
Contributor
Q                       A
Fixed Issues? Closes #17857
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

This PR includes commits from #17904.

This PR revives PR #17857. The babel-generator will still prints : for both extends and : parameter bound, since the flow has not yet officially deprecated :: There is no deprecation message for function foo<L: string>() {} yet.

@babel-bot

babel-bot commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

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

@pkg-pr-new

pkg-pr-new Bot commented Apr 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

commit: 6be0162

@JLHwung JLHwung force-pushed the support-flow-extends-bound branch from 9da1f6d to 6be0162 Compare April 22, 2026 13:45
@nicolo-ribaudo nicolo-ribaudo added the PR: Spec Compliance 👓 A type of pull request used for our changelog categories label Apr 22, 2026
@JLHwung JLHwung requested a review from liuxingbaoyu April 23, 2026 19:08
@nicolo-ribaudo nicolo-ribaudo merged commit 1f1d239 into babel:main Apr 24, 2026
56 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the support-flow-extends-bound branch April 24, 2026 10:04
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Apr 24, 2026
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Apr 24, 2026
nicolo-ribaudo pushed a commit to nicolo-ribaudo/babel that referenced this pull request Apr 24, 2026
JLHwung added a commit to nicolo-ribaudo/babel that referenced this pull request Apr 29, 2026
JLHwung added a commit to nicolo-ribaudo/babel that referenced this pull request Apr 30, 2026
JLHwung added a commit to nicolo-ribaudo/babel that referenced this pull request Apr 30, 2026
nicolo-ribaudo pushed a commit that referenced this pull request Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: flow pkg: parser PR: Spec Compliance 👓 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants