Skip to content

Ecosystem update to Babel 8 #17530

Open
Open

Description

@nicolo-ribaudo

When Babel 7 is a peer dependency, ideally we'd support both (e.g. jestjs/jest#15750)

The goal is not to get those PRs merged right now, but to make sure that they are working by the time we release Babel 8 stable.

Activity

  1. changed the issue type fromtoon Sep 26, 2025
  2. liuxingbaoyu commented on Sep 26, 2025

    @liuxingbaoyu
    Member
  3. liuxingbaoyu commented on Sep 27, 2025

    @liuxingbaoyu
    Member

    I'm upgrading vue/compiler-sfc and found the following two templates: one is TSTemplateLiteralType and the other is TemplateLiteral.
    Is there a reason for this? @JLHwung

    type a = ``
    type b = `${1}`
    
  4. JLHwung commented on Sep 27, 2025

    @JLHwung
    Contributor

    I'm upgrading vue/compiler-sfc and found the following two templates: one is TSTemplateLiteralType and the other is TemplateLiteral. Is there a reason for this? @JLHwung

    type a = ``
    type b = `${1}`
    

    Yes, it is intentional. See #17066. In TS type annotations, a template without any ${} is essentially a string literal, while the other represents a productive collection of string concatenated from the sub types.

  5. nicolo-ribaudo commented on Oct 24, 2025

    @nicolo-ribaudo
    MemberAuthor

    The full Jest upgrade is blocked by react native upgrading, which is blocked by leonardfactory/babel-plugin-transform-typescript-metadata#71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions